{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 使用BeatifulSoap进行网页分析。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests\n",
    "from bs4 import BeautifulSoup"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [],
   "source": [
    "r = requests.get(\"http://www.pythonscraping.com\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML+RDFa 1.0//EN\"\\n  \"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd\">\\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" version=\"XHTML+RDFa 1.0\" dir=\"ltr\"\\n  xmlns:content=\"http://purl.org/rss/1.0/modules/content/\"\\n  xmlns:dc=\"http://purl.org/dc/terms/\"\\n  xmlns:foaf=\"http://xmlns.com/foaf/0.1/\"\\n  xmlns:og=\"http://ogp.me/ns#\"\\n  xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\"\\n  xmlns:sioc=\"http://rdfs.org/sioc/ns#\"\\n  xmlns:sioct=\"http://rdfs.org/sioc/types#\"\\n  xmlns:skos=\"http://www.w3.org/2004/02/skos/core#\"\\n  xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\\n\\n<head profile=\"http://www.w3.org/1999/xhtml/vocab\">\\n  <meta charset=\"utf-8\" />\\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\\n<link rel=\"shortcut icon\" href=\"http://www.pythonscraping.com/misc/favicon.ico\" type=\"image/vnd.microsoft.icon\" />\\n<meta name=\"HandheldFriendly\" content=\"true\" />\\n<link rel=\"shortlink\" href=\"/node/3\" />\\n<meta name=\"Generator\" content=\"Drupal 7 (http://drupal.org)\" />\\n<link rel=\"canonical\" href=\"/node/3\" />\\n<meta name=\"MobileOptimized\" content=\"width\" />\\n  <title>Collecting More Data from the Modern Web | Web Scraping with Python</title>\\n  <style type=\"text/css\" media=\"all\">\\n@import url(\"http://www.pythonscraping.com/modules/system/system.base.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/modules/system/system.menus.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/modules/system/system.messages.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/modules/system/system.theme.css?pa2nir\");\\n</style>\\n<style type=\"text/css\" media=\"all\">\\n@import url(\"http://www.pythonscraping.com/modules/comment/comment.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/modules/field/theme/field.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/modules/node/node.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/modules/search/search.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/modules/user/user.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/sites/all/modules/views/css/views.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/sites/all/modules/ckeditor/css/ckeditor.css?pa2nir\");\\n</style>\\n<style type=\"text/css\" media=\"all\">\\n@import url(\"http://www.pythonscraping.com/sites/all/modules/ctools/css/ctools.css?pa2nir\");\\n</style>\\n<style type=\"text/css\" media=\"all\">\\n@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/skeleton.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/style.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/buttons.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/layout.css?pa2nir\");\\n@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/color/colors.css?pa2nir\");\\n</style>\\n  <script type=\"text/javascript\" src=\"http://www.pythonscraping.com/misc/jquery.js?v=1.4.4\"></script>\\n<script type=\"text/javascript\" src=\"http://www.pythonscraping.com/misc/jquery.once.js?v=1.2\"></script>\\n<script type=\"text/javascript\" src=\"http://www.pythonscraping.com/misc/drupal.js?pa2nir\"></script>\\n<script type=\"text/javascript\" src=\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/js/jquery.mobilemenu.js?pa2nir\"></script>\\n<script type=\"text/javascript\">\\n<!--//--><![CDATA[//><!--\\njQuery(document).ready(function($) { \\r\\n\\t\\r\\n\\t$(\"#navigation .content > ul\").mobileMenu({\\r\\n\\t\\tprependTo: \"#navigation\",\\r\\n\\t\\tcombine: false,\\r\\n        switchWidth: 760,\\r\\n        topOptionText: Drupal.settings.skeletontheme[\\'topoptiontext\\']\\r\\n\\t});\\r\\n\\t\\r\\n\\t});\\n//--><!]]>\\n</script>\\n<script type=\"text/javascript\" src=\"http://www.pythonscraping.com/sites/all/modules/google_analytics/googleanalytics.js?pa2nir\"></script>\\n<script type=\"text/javascript\">\\n<!--//--><![CDATA[//><!--\\n(function(i,s,o,g,r,a,m){i[\"GoogleAnalyticsObject\"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,\"script\",\"https://www.google-analytics.com/analytics.js\",\"ga\");ga(\"create\", \"UA-57871098-1\", {\"cookieDomain\":\"auto\"});ga(\"set\", \"anonymizeIp\", true);ga(\"send\", \"pageview\");\\n//--><!]]>\\n</script>\\n<script type=\"text/javascript\">\\n<!--//--><![CDATA[//><!--\\njQuery.extend(Drupal.settings, {\"basePath\":\"\\\\/\",\"pathPrefix\":\"\",\"skeletontheme\":{\"topoptiontext\":\"Select a page\"},\"ajaxPageState\":{\"theme\":\"skeletontheme\",\"theme_token\":\"LiQSScE4g13PaVYLoZFVNGYmF0R3vmQvscQqfQJlUus\",\"js\":{\"misc\\\\/jquery.js\":1,\"misc\\\\/jquery.once.js\":1,\"misc\\\\/drupal.js\":1,\"sites\\\\/all\\\\/themes\\\\/skeletontheme\\\\/js\\\\/jquery.mobilemenu.js\":1,\"0\":1,\"sites\\\\/all\\\\/modules\\\\/google_analytics\\\\/googleanalytics.js\":1,\"1\":1},\"css\":{\"modules\\\\/system\\\\/system.base.css\":1,\"modules\\\\/system\\\\/system.menus.css\":1,\"modules\\\\/system\\\\/system.messages.css\":1,\"modules\\\\/system\\\\/system.theme.css\":1,\"modules\\\\/comment\\\\/comment.css\":1,\"modules\\\\/field\\\\/theme\\\\/field.css\":1,\"modules\\\\/node\\\\/node.css\":1,\"modules\\\\/search\\\\/search.css\":1,\"modules\\\\/user\\\\/user.css\":1,\"sites\\\\/all\\\\/modules\\\\/views\\\\/css\\\\/views.css\":1,\"sites\\\\/all\\\\/modules\\\\/ckeditor\\\\/css\\\\/ckeditor.css\":1,\"sites\\\\/all\\\\/modules\\\\/ctools\\\\/css\\\\/ctools.css\":1,\"sites\\\\/all\\\\/themes\\\\/skeletontheme\\\\/css\\\\/skeleton.css\":1,\"sites\\\\/all\\\\/themes\\\\/skeletontheme\\\\/css\\\\/style.css\":1,\"sites\\\\/all\\\\/themes\\\\/skeletontheme\\\\/css\\\\/buttons.css\":1,\"sites\\\\/all\\\\/themes\\\\/skeletontheme\\\\/css\\\\/layout.css\":1,\"sites\\\\/all\\\\/themes\\\\/skeletontheme\\\\/color\\\\/colors.css\":1}},\"googleanalytics\":{\"trackOutbound\":1,\"trackMailto\":1,\"trackDownload\":1,\"trackDownloadExtensions\":\"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip\"}});\\n//--><!]]>\\n</script>\\n</head>\\n<body class=\"html front not-logged-in one-sidebar sidebar-first page-node page-node- page-node-3 node-type-page\" >\\n  <div id=\"skip-link\">\\n    <a href=\"#main-content\" class=\"element-invisible element-focusable\">Skip to main content</a>\\n  </div>\\n    <div id=\"wrap\">\\n    <div class=\"container\">\\n        \\n                \\n        <div class=\"clear\"></div>\\n        \\n        <!-- #header -->\\n                <div id=\"header\" class=\"sixteen columns clearfix\">   \\n                \\n            <div class=\"inner\">\\n    \\n                                  <a href=\"/\" title=\"Home\" rel=\"home\" id=\"logo\">\\n                    <img src=\"http://www.pythonscraping.com/sites/default/files/lrg_0.jpg\" alt=\"Home\" />\\n                  </a>\\n                                \\n                                <div id=\"name-and-slogan\">\\n                \\n                                        <div id=\"site-name\">\\n                    <a href=\"/\" title=\"Home\" rel=\"home\">Web Scraping with Python</a>\\n                    </div>\\n                                        \\n                                    \\n                </div>\\n                            </div>\\n        </div><!-- /#header -->\\n        \\n                \\n        <div class=\"clear\"></div>\\n        \\n        <!-- #navigation -->\\n        <div id=\"navigation\" class=\"sixteen columns clearfix\">\\n        \\n            <div class=\"menu-header\">\\n                            \\t\\t\\t\\t<div class=\"content\">\\n\\t\\t\\t\\t<ul class=\"menu\"><li class=\"first leaf\"><a href=\"/\" class=\"active\">Home</a></li>\\n<li class=\"leaf\"><a href=\"/node/5\">About the Author</a></li>\\n<li class=\"leaf\"><a href=\"/node/15\" title=\"\">About the Book</a></li>\\n<li class=\"last leaf\"><a href=\"/blog\" title=\"\">Blog</a></li>\\n</ul>                </div>\\n                        </div>\\n            \\n        </div><!-- /#navigation -->\\n        \\n                <!-- #sidebar-first -->\\n        <div id=\"sidebar-first\" class=\"five columns\">\\n              <div class=\"region region-sidebar-first\">\\n    <div id=\"block-block-1\" class=\"block block-block\">\\n\\n    <h2>Buy WSwP Directly from O&#039;Reilly:</h2>\\n  \\n  <div class=\"content\">\\n    <iframe src=\"http://www.oreilly.com/authors/widgets/669.html\" height=\"500px\" width=\"200px\" scrolling=\"no\" frameborder=\"0\"></iframe>  </div>\\n</div>\\n<div id=\"block-system-navigation\" class=\"block block-system block-menu\">\\n\\n    <h2>Navigation</h2>\\n  \\n  <div class=\"content\">\\n    <ul class=\"menu\"><li class=\"first last leaf\"><a href=\"/blog\">Blog</a></li>\\n</ul>  </div>\\n</div>\\n  </div>\\n        </div><!-- /#sidebar-first -->\\n                \\n                <div id=\"content\" class=\"eleven columns\">\\n\\t\\t        \\n                    \\n                        \\n            <div id=\"main\">\\n            \\n                                \\n                                \\n                                <h1 class=\"title\" id=\"page-title\">\\n                  Collecting More Data from the Modern Web                </h1>\\n                                \\n                                \\n                                <div class=\"tabs\">\\n                                  </div>\\n                                \\n                                \\n                                \\n                  <div class=\"region region-content\">\\n    <div id=\"block-system-main\" class=\"block block-system\">\\n\\n    \\n  <div class=\"content\">\\n    <div id=\"node-3\" class=\"node node-page node-promoted clearfix\" about=\"/node/3\" typeof=\"foaf:Document\">\\n\\n      <span property=\"dc:title\" content=\"Collecting More Data from the Modern Web\" class=\"rdf-meta element-hidden\"></span><span property=\"sioc:num_replies\" content=\"0\" datatype=\"xsd:integer\" class=\"rdf-meta element-hidden\"></span>\\n  \\n  <div class=\"content clearfix\">\\n    <div class=\"field field-name-body field-type-text-with-summary field-label-hidden\"><div class=\"field-items\"><div class=\"field-item even\" property=\"content:encoded\"><p>Learn web scraping and crawling techniques to access unlimited data from any web source in any format. With this practical guide, you’ll learn how to use Python scripts and web APIs to gather and process data from thousands—or even millions—of web pages at once.</p>\\n<p>Ideal for programmers, security professionals, and web administrators familiar with Python, this book not only teaches basic web scraping mechanics, but also delves into more advanced topics, such as analyzing raw data or using scrapers for frontend website testing. Code samples are available to help you understand the concepts in practice.</p>\\n<p><a href=\"http://shop.oreilly.com/product/0636920034391.do\" target=\"_blank\"><img alt=\"\" src=\"http://pythonscraping.com/img/lrg%20(1).jpg\" style=\"height:394px; width:300px\" /></a></p>\\n</div></div></div>  </div>\\n\\n  \\n  \\n</div>\\n  </div>\\n</div>\\n  </div>\\n                                \\n            </div>\\n        \\n        </div><!-- /#content -->\\n        \\n                \\n        <div class=\"clear\"></div>\\n        \\n                \\n\\t</div>\\n        \\n\\t<div id=\"footer\" >\\n        <div class=\"container\">\\n        \\t<div class=\"sixteen columns clearfix\">\\n        \\n                <div class=\"one_third\">\\n                                </div>\\n                \\n                <div class=\"one_third\">\\n                                </div>\\n                \\n                <div class=\"one_third last\">\\n                                </div>\\n        \\n                <div class=\"clear\"></div>\\n                \\n                                \\n                <div class=\"clear\"></div>\\n                \\n                <div id=\"credits\">\\n                2018                                 Web Scraping with Python<br/>\\n                                &copy; Ryan Mitchell, All Rights Reserved. For questions about reproduction or use of any material on this site, please contact ryan.e.mitchell@gmail.com\\n                </div>\\n        \\t</div>\\n        </div>\\n    </div>\\n    \\n</div> <!-- /#wrap -->  </body>\\n</html>\\n'"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.text"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "bs = BeautifulSoup(r.text,\"lxml\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML+RDFa 1.0//EN\" \"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd\">\n",
       "<html dir=\"ltr\" version=\"XHTML+RDFa 1.0\" xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\" xmlns:dc=\"http://purl.org/dc/terms/\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:og=\"http://ogp.me/ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:sioc=\"http://rdfs.org/sioc/ns#\" xmlns:sioct=\"http://rdfs.org/sioc/types#\" xmlns:skos=\"http://www.w3.org/2004/02/skos/core#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n",
       "<head profile=\"http://www.w3.org/1999/xhtml/vocab\">\n",
       "<meta charset=\"utf-8\"/>\n",
       "<meta content=\"width=device-width, initial-scale=1\" name=\"viewport\"/>\n",
       "<link href=\"http://www.pythonscraping.com/misc/favicon.ico\" rel=\"shortcut icon\" type=\"image/vnd.microsoft.icon\"/>\n",
       "<meta content=\"true\" name=\"HandheldFriendly\"/>\n",
       "<link href=\"/node/3\" rel=\"shortlink\"/>\n",
       "<meta content=\"Drupal 7 (http://drupal.org)\" name=\"Generator\"/>\n",
       "<link href=\"/node/3\" rel=\"canonical\"/>\n",
       "<meta content=\"width\" name=\"MobileOptimized\"/>\n",
       "<title>Collecting More Data from the Modern Web | Web Scraping with Python</title>\n",
       "<style media=\"all\" type=\"text/css\">\n",
       "@import url(\"http://www.pythonscraping.com/modules/system/system.base.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/modules/system/system.menus.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/modules/system/system.messages.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/modules/system/system.theme.css?pa2nir\");\n",
       "</style>\n",
       "<style media=\"all\" type=\"text/css\">\n",
       "@import url(\"http://www.pythonscraping.com/modules/comment/comment.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/modules/field/theme/field.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/modules/node/node.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/modules/search/search.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/modules/user/user.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/modules/views/css/views.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/modules/ckeditor/css/ckeditor.css?pa2nir\");\n",
       "</style>\n",
       "<style media=\"all\" type=\"text/css\">\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/modules/ctools/css/ctools.css?pa2nir\");\n",
       "</style>\n",
       "<style media=\"all\" type=\"text/css\">\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/skeleton.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/style.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/buttons.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/css/layout.css?pa2nir\");\n",
       "@import url(\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/color/colors.css?pa2nir\");\n",
       "</style>\n",
       "<script src=\"http://www.pythonscraping.com/misc/jquery.js?v=1.4.4\" type=\"text/javascript\"></script>\n",
       "<script src=\"http://www.pythonscraping.com/misc/jquery.once.js?v=1.2\" type=\"text/javascript\"></script>\n",
       "<script src=\"http://www.pythonscraping.com/misc/drupal.js?pa2nir\" type=\"text/javascript\"></script>\n",
       "<script src=\"http://www.pythonscraping.com/sites/all/themes/skeletontheme/js/jquery.mobilemenu.js?pa2nir\" type=\"text/javascript\"></script>\n",
       "<script type=\"text/javascript\">\n",
       "<!--//--><![CDATA[//><!--\n",
       "jQuery(document).ready(function($) { \n",
       "\t\n",
       "\t$(\"#navigation .content > ul\").mobileMenu({\n",
       "\t\tprependTo: \"#navigation\",\n",
       "\t\tcombine: false,\n",
       "        switchWidth: 760,\n",
       "        topOptionText: Drupal.settings.skeletontheme['topoptiontext']\n",
       "\t});\n",
       "\t\n",
       "\t});\n",
       "//--><!]]>\n",
       "</script>\n",
       "<script src=\"http://www.pythonscraping.com/sites/all/modules/google_analytics/googleanalytics.js?pa2nir\" type=\"text/javascript\"></script>\n",
       "<script type=\"text/javascript\">\n",
       "<!--//--><![CDATA[//><!--\n",
       "(function(i,s,o,g,r,a,m){i[\"GoogleAnalyticsObject\"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,\"script\",\"https://www.google-analytics.com/analytics.js\",\"ga\");ga(\"create\", \"UA-57871098-1\", {\"cookieDomain\":\"auto\"});ga(\"set\", \"anonymizeIp\", true);ga(\"send\", \"pageview\");\n",
       "//--><!]]>\n",
       "</script>\n",
       "<script type=\"text/javascript\">\n",
       "<!--//--><![CDATA[//><!--\n",
       "jQuery.extend(Drupal.settings, {\"basePath\":\"\\/\",\"pathPrefix\":\"\",\"skeletontheme\":{\"topoptiontext\":\"Select a page\"},\"ajaxPageState\":{\"theme\":\"skeletontheme\",\"theme_token\":\"G4mx0LG7JQdMBcqg9lUNHrzuZ5ztkQlXycNZxClhqyU\",\"js\":{\"misc\\/jquery.js\":1,\"misc\\/jquery.once.js\":1,\"misc\\/drupal.js\":1,\"sites\\/all\\/themes\\/skeletontheme\\/js\\/jquery.mobilemenu.js\":1,\"0\":1,\"sites\\/all\\/modules\\/google_analytics\\/googleanalytics.js\":1,\"1\":1},\"css\":{\"modules\\/system\\/system.base.css\":1,\"modules\\/system\\/system.menus.css\":1,\"modules\\/system\\/system.messages.css\":1,\"modules\\/system\\/system.theme.css\":1,\"modules\\/comment\\/comment.css\":1,\"modules\\/field\\/theme\\/field.css\":1,\"modules\\/node\\/node.css\":1,\"modules\\/search\\/search.css\":1,\"modules\\/user\\/user.css\":1,\"sites\\/all\\/modules\\/views\\/css\\/views.css\":1,\"sites\\/all\\/modules\\/ckeditor\\/css\\/ckeditor.css\":1,\"sites\\/all\\/modules\\/ctools\\/css\\/ctools.css\":1,\"sites\\/all\\/themes\\/skeletontheme\\/css\\/skeleton.css\":1,\"sites\\/all\\/themes\\/skeletontheme\\/css\\/style.css\":1,\"sites\\/all\\/themes\\/skeletontheme\\/css\\/buttons.css\":1,\"sites\\/all\\/themes\\/skeletontheme\\/css\\/layout.css\":1,\"sites\\/all\\/themes\\/skeletontheme\\/color\\/colors.css\":1}},\"googleanalytics\":{\"trackOutbound\":1,\"trackMailto\":1,\"trackDownload\":1,\"trackDownloadExtensions\":\"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip\"}});\n",
       "//--><!]]>\n",
       "</script>\n",
       "</head>\n",
       "<body class=\"html front not-logged-in one-sidebar sidebar-first page-node page-node- page-node-3 node-type-page\">\n",
       "<div id=\"skip-link\">\n",
       "<a class=\"element-invisible element-focusable\" href=\"#main-content\">Skip to main content</a>\n",
       "</div>\n",
       "<div id=\"wrap\">\n",
       "<div class=\"container\">\n",
       "<div class=\"clear\"></div>\n",
       "<!-- #header -->\n",
       "<div class=\"sixteen columns clearfix\" id=\"header\">\n",
       "<div class=\"inner\">\n",
       "<a href=\"/\" id=\"logo\" rel=\"home\" title=\"Home\">\n",
       "<img alt=\"Home\" src=\"http://www.pythonscraping.com/sites/default/files/lrg_0.jpg\"/>\n",
       "</a>\n",
       "<div id=\"name-and-slogan\">\n",
       "<div id=\"site-name\">\n",
       "<a href=\"/\" rel=\"home\" title=\"Home\">Web Scraping with Python</a>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "</div><!-- /#header -->\n",
       "<div class=\"clear\"></div>\n",
       "<!-- #navigation -->\n",
       "<div class=\"sixteen columns clearfix\" id=\"navigation\">\n",
       "<div class=\"menu-header\">\n",
       "<div class=\"content\">\n",
       "<ul class=\"menu\"><li class=\"first leaf\"><a class=\"active\" href=\"/\">Home</a></li>\n",
       "<li class=\"leaf\"><a href=\"/node/5\">About the Author</a></li>\n",
       "<li class=\"leaf\"><a href=\"/node/15\" title=\"\">About the Book</a></li>\n",
       "<li class=\"last leaf\"><a href=\"/blog\" title=\"\">Blog</a></li>\n",
       "</ul> </div>\n",
       "</div>\n",
       "</div><!-- /#navigation -->\n",
       "<!-- #sidebar-first -->\n",
       "<div class=\"five columns\" id=\"sidebar-first\">\n",
       "<div class=\"region region-sidebar-first\">\n",
       "<div class=\"block block-block\" id=\"block-block-1\">\n",
       "<h2>Buy WSwP Directly from O'Reilly:</h2>\n",
       "<div class=\"content\">\n",
       "<iframe frameborder=\"0\" height=\"500px\" scrolling=\"no\" src=\"http://www.oreilly.com/authors/widgets/669.html\" width=\"200px\"></iframe> </div>\n",
       "</div>\n",
       "<div class=\"block block-system block-menu\" id=\"block-system-navigation\">\n",
       "<h2>Navigation</h2>\n",
       "<div class=\"content\">\n",
       "<ul class=\"menu\"><li class=\"first last leaf\"><a href=\"/blog\">Blog</a></li>\n",
       "</ul> </div>\n",
       "</div>\n",
       "</div>\n",
       "</div><!-- /#sidebar-first -->\n",
       "<div class=\"eleven columns\" id=\"content\">\n",
       "<div id=\"main\">\n",
       "<h1 class=\"title\" id=\"page-title\">\n",
       "                  Collecting More Data from the Modern Web                </h1>\n",
       "<div class=\"tabs\">\n",
       "</div>\n",
       "<div class=\"region region-content\">\n",
       "<div class=\"block block-system\" id=\"block-system-main\">\n",
       "<div class=\"content\">\n",
       "<div about=\"/node/3\" class=\"node node-page node-promoted clearfix\" id=\"node-3\" typeof=\"foaf:Document\">\n",
       "<span class=\"rdf-meta element-hidden\" content=\"Collecting More Data from the Modern Web\" property=\"dc:title\"></span><span class=\"rdf-meta element-hidden\" content=\"0\" datatype=\"xsd:integer\" property=\"sioc:num_replies\"></span>\n",
       "<div class=\"content clearfix\">\n",
       "<div class=\"field field-name-body field-type-text-with-summary field-label-hidden\"><div class=\"field-items\"><div class=\"field-item even\" property=\"content:encoded\"><p>Learn web scraping and crawling techniques to access unlimited data from any web source in any format. With this practical guide, you’ll learn how to use Python scripts and web APIs to gather and process data from thousands—or even millions—of web pages at once.</p>\n",
       "<p>Ideal for programmers, security professionals, and web administrators familiar with Python, this book not only teaches basic web scraping mechanics, but also delves into more advanced topics, such as analyzing raw data or using scrapers for frontend website testing. Code samples are available to help you understand the concepts in practice.</p>\n",
       "<p><a href=\"http://shop.oreilly.com/product/0636920034391.do\" target=\"_blank\"><img alt=\"\" src=\"http://pythonscraping.com/img/lrg%20(1).jpg\" style=\"height:394px; width:300px\"/></a></p>\n",
       "</div></div></div> </div>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "</div><!-- /#content -->\n",
       "<div class=\"clear\"></div>\n",
       "</div>\n",
       "<div id=\"footer\">\n",
       "<div class=\"container\">\n",
       "<div class=\"sixteen columns clearfix\">\n",
       "<div class=\"one_third\">\n",
       "</div>\n",
       "<div class=\"one_third\">\n",
       "</div>\n",
       "<div class=\"one_third last\">\n",
       "</div>\n",
       "<div class=\"clear\"></div>\n",
       "<div class=\"clear\"></div>\n",
       "<div id=\"credits\">\n",
       "                2018                                 Web Scraping with Python<br/>\n",
       "                                © Ryan Mitchell, All Rights Reserved. For questions about reproduction or use of any material on this site, please contact ryan.e.mitchell@gmail.com\n",
       "                </div>\n",
       "</div>\n",
       "</div>\n",
       "</div>\n",
       "</div> <!-- /#wrap --> </body>\n",
       "</html>"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "bs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [],
   "source": [
    "image = bs.find(\"a\", {\"id\": \"logo\"}).find(\"img\")[\"src\"]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'http://www.pythonscraping.com/sites/default/files/lrg_0.jpg'"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "image"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "('logo.jpg', <http.client.HTTPMessage at 0x7f5878a7fcf8>)"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from urllib.request import urlretrieve\n",
    "\n",
    "urlretrieve(image, \"logo.jpg\")\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "更多的试验。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "r = requests.get('http://www.weather.com.cn/static/product_video_v1.php?class=JC_YT_DL_WXZXCSYT')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "bs = BeautifulSoup(r.text,\"lxml\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n",
       "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n",
       "<head>\n",
       "<title>卫星云图滚动播放-中国天气网</title>\n",
       "<meta content=\"IE=7\" http-equiv=\"X-UA-Compatible\"/>\n",
       "<meta content=\"中国天气 气象卫星 云图滚动 雷达滚动\" name=\"keywords\"/>\n",
       "<meta content=\"中国天气网站气象卫星首页,中国最权威、类别最齐全的气象卫星产品网站 \" name=\"description\"/>\n",
       "<link href=\"/m/c/product_video.css\" media=\"all\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<script language=\"javascript\" src=\"/m/j/nephogram_video_v1.js\"></script>\n",
       "<script type=\"text/javascript\">\n",
       "\n",
       "function Open(thisform)\n",
       "{\n",
       "\tif (thisform.options[thisform.selectedIndex].value.length>0)\n",
       "\t\twindow.open(thisform.options[thisform.selectedIndex].value);\n",
       "}\n",
       "</script>\n",
       "<script src=\"http://i.tq121.com.cn/j/jquery-1.8.2.js\" type=\"text/javascript\"></script>\n",
       "<!--<script src=\"/m/c/chajian/customize.js\" type=\"text/javascript\"></script>\n",
       "<link rel=\"StyleSheet\" media=\"screen\" href=\"/m/c/chajian/customize.css\" type=\"text/css\" />-->\n",
       "<link href=\"/m/c/newPublic.css\" media=\"all\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<link href=\"http://www.weather.com.cn/m2/c/searchbox2013.css?y=201409\" media=\"screen\" rel=\"StyleSheet\" type=\"text/css\"/>\n",
       "<style>\n",
       ".by a.fuwu_cp{border-right:0;}\n",
       "</style>\n",
       "<script src=\"/m/j/header2014.js\" type=\"text/javascript\"></script>\n",
       "<script type=\"text/javascript\">\n",
       "var GO = function(elemId){\n",
       "\treturn document.getElementById(elemId);\n",
       "}\n",
       "\n",
       "\n",
       "\n",
       "\n",
       "</script>\n",
       "<script src=\"http://i.tq121.com.cn/j/core.js\" type=\"text/javascript\"></script>\n",
       "<script>W.css('c/weather2014/common_o.css','c/m_search.css')</script>\n",
       "<script>W.use('j/weather2014/news')</script>\n",
       "<script src=\"http://www.weather.com.cn/m2/j/public/tooltips201411.js?y=201408\" type=\"text/javascript\"></script>\n",
       "</head>\n",
       "<body>\n",
       "<input id=\"colorid\" type=\"hidden\" value=\"32\"/>\n",
       "<div id=\"toolBar\">\n",
       "<div class=\"midBlock\">\n",
       "<script src=\"http://i.tq121.com.cn/j/weather2014/rili.js\" type=\"text/javascript\"></script>\n",
       "<span class=\"leftLink\" style=\" margin-right:20px;\">今天是<script language=\"javascript\">RunGLNL();</script></span>\n",
       "<span class=\"leftLink\"><a href=\"javascript:setHomepage()\" target=\"_self\" title=\"设为首页\">设为首页</a><a href=\"http://mobile.weather.com.cn\">手机天气网</a>\n",
       "<!--<a href=\"#\">Pad版</a>-->\n",
       "<a href=\"http://3g.weather.com.cn/\">移动客户端</a><a href=\"http://www.weather.com.cn/static/urls.php\" target=\"_blank\">保存至桌面</a></span> <span class=\"links\">\n",
       "<!--<a class=\"blue\" href=\"#\" title=\"登录\">登录</a>-->\n",
       "<!--<a id=\"collect\" target=\"_self\" href=\"javascript:void(0);\"  title=\"收藏\">收藏</a>-->\n",
       "<a href=\"javascript:void(0);\" id=\"provice\" target=\"_self\" title=\"省级站\">省级站<i class=\"arrow\"></i></a><a href=\"http://en.weather.com.cn\" id=\"eg\" target=\"_blank\" title=\"English Version\">English</a>\n",
       "<!--<a href=\"#\"  id=\"dl_tw\">繁體中文</a>-->\n",
       "</span> </div>\n",
       "</div>\n",
       "<!--搜索定制头begin -->\n",
       "<div class=\"learfix\" id=\"c_top\">\n",
       "<div id=\"idss\"></div>\n",
       "<a class=\"logo\" href=\"http://www.weather.com.cn/\"></a>\n",
       "<div class=\"search clearfix\">\n",
       "<input class=\"textinput\" id=\"txtZip\" type=\"text\" value=\"输入景点名、城市名 查天气\"/>\n",
       "<input class=\"btn\" id=\"btnZip\" type=\"button\" value=\"\"/>\n",
       "</div>\n",
       "<div class=\"inforesult\"> </div>\n",
       "<div id=\"show\">\n",
       "<ul>\n",
       "</ul>\n",
       "</div>\n",
       "<div class=\"citySet\">\n",
       "<ul class=\"top3 clearfix\">\n",
       "</ul>\n",
       "<ul class=\"more\">\n",
       "</ul>\n",
       "</div>\n",
       "</div>\n",
       "<!--搜索定制头end-->\n",
       "<!--小导航开始-->\n",
       "<div class=\"topNav clearfix\">\n",
       "<ul class=\"topul_nav\">\n",
       "<li class=\"wz0\"><a class=\"nav_a nav_a2 shouYe\" href=\"http://www.weather.com.cn/\">首页</a></li>\n",
       "<li class=\"wz1\" id=\"510\" style=\"z-index: 2;\"> <a class=\"nav_a nav_a2 xuan_z tianjia\" href=\"http://www.weather.com.cn/forecast/\" style=\"background-color: rgb(212, 236, 253); width: 100%; height: 38px; color: rgb(44, 132, 181); background-image: none;\">天气</a>\n",
       "<div class=\"tianQi by \" style=\"display: block; width: 960px; left: -137px;\"> <a class=\"tianQi_yj biaotou tianjia\" href=\"http://www.weather.com.cn/forecast/\" id=\"510*forecast\">国内</a>\n",
       "<a class=\"tianQi_yj biaotou\" href=\"http://www.weather.com.cn/forecast/world.shtml\" id=\"510*gjtq\">国际</a>\n",
       "<a class=\"biaotou\" href=\"http://www.weather.com.cn/alarm/\" id=\"510*alarm\">预警</a>\n",
       "<a class=\"tianQi_ld biaotou\" href=\"http://www.weather.com.cn/radar/\" id=\"510*radar\">雷达</a>\n",
       "<a class=\"weiXin_yt biaotou\" href=\"http://www.weather.com.cn/satellite/\" id=\"510*satellite\">云图</a>\n",
       "<a class=\"xianZai_tq biaotou\" href=\"http://www.weather.com.cn/live/\" id=\"510*live\">现在天气</a>\n",
       "<a class=\"fuwu_cp biaotou\" href=\"http://www.weather.com.cn/static/html/product/\" id=\"510*product\">专业产品</a> </div>\n",
       "</li>\n",
       "<li class=\"wz2\" id=\"23282\"><a class=\"nav_a nav_a2 xuan_z\" href=\"http://news.weather.com.cn/\">资讯</a> </li>\n",
       "<li class=\"wz3\" id=\"3463\"><a class=\"nav_a nav_a2 xuan_z\" href=\"http://www.weather.com.cn/life/\">服务</a> </li>\n",
       "<li class=\"wz4\" id=\"34\"><a class=\"nav_a nav_a2 xuan_z\" href=\"http://www.weather.com.cn/science/\">科普</a> </li>\n",
       "<li class=\"wz5\" id=\"21465\"><a class=\"nav_a\" href=\"http://club.weather.com.cn/\">互动</a> </li>\n",
       "<li class=\"wz6\" id=\"29693\"><a class=\"nav_a\" href=\"http://3g.weather.com.cn/\" target=\"_blank\">应用</a> </li>\n",
       "</ul>\n",
       "</div>\n",
       "<!--小导航结束-->\n",
       "<script>W.use('j/common')</script>\n",
       "<!--\n",
       "<div class=\"weatherwapper\">\n",
       "\t<div class=\"tit_weatherall\">\n",
       "\t\t<h2>\n",
       "       <span>快速转至其他城市：\n",
       "\t\t\t<iframe frameBorder=\"0\" width=\"280\" height=\"22\" scrolling=\"no\" src=\"http://www.weather.com.cn/pubmodel/inquires2.htm\" marginwidth=\"0\" marginheight=\"0\"></iframe>\n",
       "\t\t\t</span>\n",
       "\t\t\t<a href=\"http://www.weather.com.cn\">中国天气网</a>&nbsp;&gt;&nbsp;<a href=\"http://www.weather.com.cn/static/html/product_wx.shtml\">气象卫星</a>&nbsp;&gt;&nbsp;卫星云图\n",
       "\t\t</h2>\n",
       "\t</div>\n",
       "</div>\n",
       "-->\n",
       "<div class=\"weatherMain\">\n",
       "<div class=\"weatherLeft\">\n",
       "<div class=\"LcolorCloud\">\n",
       "<h1 class=\"weatheH1\">中国大陆区域彩色云图<span><strong>要素：</strong>风云二号<strong>　区域：</strong>中国</span></h1>\n",
       "<div class=\"LcolorCloud1\">\n",
       "<form name=\"slideform\">\n",
       "<div class=\"lPlayFrame\" style=\"position:relative;\">\n",
       "<a href=\"http://www.weather.com.cn/static/product_video_v2.php\" id=\"largeY\" style=\"position: absolute; left: 25px; top: 0px;\" target=\"_blank\">大图播放</a>\n",
       "<a name=\"button\" onclick=\"first();\" title=\"Beginning\">第一帧</a>\n",
       "<a name=\"button\" onclick=\"previous();\" title=\"Previous\">前一帧</a>\n",
       "<a class=\"btn_business\" id=\"aaa\" name=\"slidebutton\" onclick=\"ap('aaa');\" title=\"AutoPlay\">播放</a>\n",
       "<a onclick='next();name=\"button\"' title=\"Next\">后一帧</a>\n",
       "<a name=\"button\" onclick=\"last();\" title=\"End\">最后一帧</a>\n",
       "<a href=\"#\" id=\"newest\" style=\"position: absolute; right: 25px; top: 0px;\" title=\"newest\">查看最新一帧</a></div>\n",
       "<div class=\"lPlayerPhoto\"><a href=\"http://pi.weather.com.cn/i/product/pic/l/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725081500000.jpg\" id=\"large\" target=\"_blank\"><img name=\"show\" src=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725081500000.jpg\" width=\"570\"/></a> </div>\n",
       "<div class=\"TimezDown\">\n",
       "<select id=\"slide\" name=\"slide\" onchange=\"change();\">\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724151500000.jpg\">2018年07月24日23时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724154500000.jpg\">2018年07月24日23时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724161500000.jpg\">2018年07月25日00时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724164500000.jpg\">2018年07月25日00时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724171500000.jpg\">2018年07月25日01时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724174500000.jpg\">2018年07月25日01时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724181500000.jpg\">2018年07月25日02时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724184500000.jpg\">2018年07月25日02时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724191500000.jpg\">2018年07月25日03时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724194500000.jpg\">2018年07月25日03时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724201500000.jpg\">2018年07月25日04时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724211500000.jpg\">2018年07月25日05时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724214500000.jpg\">2018年07月25日05时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724221500000.jpg\">2018年07月25日06时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724224500000.jpg\">2018年07月25日06时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724231500000.jpg\">2018年07月25日07时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724234500000.jpg\">2018年07月25日07时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725001500000.jpg\">2018年07月25日08时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725004500000.jpg\">2018年07月25日08时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725011500000.jpg\">2018年07月25日09时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725024500000.jpg\">2018年07月25日10时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725031500000.jpg\">2018年07月25日11时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725034500000.jpg\">2018年07月25日11时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725041500000.jpg\">2018年07月25日12时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725044500000.jpg\">2018年07月25日12时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725051500000.jpg\">2018年07月25日13时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725054500000.jpg\">2018年07月25日13时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725061500000.jpg\">2018年07月25日14时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725064500000.jpg\">2018年07月25日14时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725071500000.jpg\">2018年07月25日15时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725074500000.jpg\">2018年07月25日15时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725081500000.jpg\">2018年07月25日16时15分云图</option>\n",
       "</select>\n",
       "</div>\n",
       "<div class=\"SelectType\"> <span class=\"SelectTypeLeft\">播放速度：</span>\n",
       "<ul class=\"SelectTypeRight\">\n",
       "<li><input name=\"speed\" onclick=\"a_speed('a');\" type=\"radio\" value=\"a\"/>加速</li>\n",
       "<li><input name=\"speed\" onclick=\"a_speed('c');\" type=\"radio\" value=\"c\"/>匀速</li>\n",
       "<li><input name=\"speed\" onclick=\"a_speed('b');\" type=\"radio\" value=\"b\"/> 减速</li>\n",
       "</ul>\n",
       "</div>\n",
       "<div class=\"SelectType\"> <span class=\"SelectTypeLeft\">选择类型：</span>\n",
       "<ul class=\"SelectTypeRight\">\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_DL_WXZXCSYT')\" type=\"radio\" value=\"JC_YT_DL_WXZXCSYT\"/>大陆区域彩色</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_DL_SQ')\" type=\"radio\" value=\"JC_YT_DL_SQ\"/> 大陆区域水汽</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_HQ_HW')\" type=\"radio\" value=\"JC_YT_HQ_HW\"/>海区红外</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_DL_HW')\" type=\"radio\" value=\"JC_YT_DL_HW\"/>大陆区域红外</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_YPT_CSYT')\" type=\"radio\" value=\"JC_YT_YPT_CSYT\"/> FY-2E彩色圆盘图</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_YPT_SQ')\" type=\"radio\" value=\"JC_YT_YPT_SQ\"/>FY-2E水汽圆盘图</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_YPT_ZHW')\" type=\"radio\" value=\"JC_YT_YPT_ZHW\"/>FY-2E中红外圆盘图</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_YPT_KJG')\" type=\"radio\" value=\"JC_YT_YPT_KJG\"/>FY-2E可见光圆盘图</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_YPT_HW1')\" type=\"radio\" value=\"JC_YT_YPT_HW1\"/>FY-2E红外一圆盘图</li>\n",
       "<li><input name=\"eco\" onclick=\"select_eco('this','JC_YT_YPT_HW2')\" type=\"radio\" value=\"JC_YT_YPT_HW2\"/>FY-2E红外二圆盘图</li>\n",
       "</ul>\n",
       "</div>\n",
       "<div class=\"SelectType\"> <span class=\"SelectTypeLeft\">时间跨度：</span>\n",
       "<select id=\"slide1\" name=\"slide1\">\n",
       "<option selected=\"selected\" value=\"18年07月24日16时45分\">18年07月24日16时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日17时15分\">18年07月24日17时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日17时45分\">18年07月24日17时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日18时15分\">18年07月24日18时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日18时45分\">18年07月24日18时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日19时15分\">18年07月24日19时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日19时45分\">18年07月24日19时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日20时15分\">18年07月24日20时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日20时45分\">18年07月24日20时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日21时15分\">18年07月24日21时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日21时45分\">18年07月24日21时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日22时15分\">18年07月24日22时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日22时45分\">18年07月24日22时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日23时15分\">18年07月24日23时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日23时45分\">18年07月24日23时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日00时15分\">18年07月25日00时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日00时45分\">18年07月25日00时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日01时15分\">18年07月25日01时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日01时45分\">18年07月25日01时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日02时15分\">18年07月25日02时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日02时45分\">18年07月25日02时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日03时15分\">18年07月25日03时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日03时45分\">18年07月25日03时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日04时15分\">18年07月25日04时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日05时15分\">18年07月25日05时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日05时45分\">18年07月25日05时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日06时15分\">18年07月25日06时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日06时45分\">18年07月25日06时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日07时15分\">18年07月25日07时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日07时45分\">18年07月25日07时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日08时15分\">18年07月25日08时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日08时45分\">18年07月25日08时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日09时15分\">18年07月25日09时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日10时45分\">18年07月25日10时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日11时15分\">18年07月25日11时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日11时45分\">18年07月25日11时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日12时15分\">18年07月25日12时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日12时45分\">18年07月25日12时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日13时15分\">18年07月25日13时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日13时45分\">18年07月25日13时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日14时15分\">18年07月25日14时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日14时45分\">18年07月25日14时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日15时15分\">18年07月25日15时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日15时45分\">18年07月25日15时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日16时15分\">18年07月25日16时15分</option>\n",
       "</select>\n",
       "            至\n",
       "       <select id=\"slide2\" name=\"slide2\">\n",
       "<option selected=\"selected\" value=\"18年07月24日16时45分\">18年07月24日16时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日17时15分\">18年07月24日17时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日17时45分\">18年07月24日17时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日18时15分\">18年07月24日18时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日18时45分\">18年07月24日18时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日19时15分\">18年07月24日19时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日19时45分\">18年07月24日19时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日20时15分\">18年07月24日20时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日20时45分\">18年07月24日20时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日21时15分\">18年07月24日21时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日21时45分\">18年07月24日21时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日22时15分\">18年07月24日22时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日22时45分\">18年07月24日22时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日23时15分\">18年07月24日23时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月24日23时45分\">18年07月24日23时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日00时15分\">18年07月25日00时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日00时45分\">18年07月25日00时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日01时15分\">18年07月25日01时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日01时45分\">18年07月25日01时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日02时15分\">18年07月25日02时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日02时45分\">18年07月25日02时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日03时15分\">18年07月25日03时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日03时45分\">18年07月25日03时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日04时15分\">18年07月25日04时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日05时15分\">18年07月25日05时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日05时45分\">18年07月25日05时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日06时15分\">18年07月25日06时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日06时45分\">18年07月25日06时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日07时15分\">18年07月25日07时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日07时45分\">18年07月25日07时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日08时15分\">18年07月25日08时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日08时45分\">18年07月25日08时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日09时15分\">18年07月25日09时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日10时45分\">18年07月25日10时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日11时15分\">18年07月25日11时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日11时45分\">18年07月25日11时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日12时15分\">18年07月25日12时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日12时45分\">18年07月25日12时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日13时15分\">18年07月25日13时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日13时45分\">18年07月25日13时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日14时15分\">18年07月25日14时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日14时45分\">18年07月25日14时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日15时15分\">18年07月25日15时15分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日15时45分\">18年07月25日15时45分</option>\n",
       "<option selected=\"selected\" value=\"18年07月25日16时15分\">18年07月25日16时15分</option>\n",
       "</select>\n",
       "<a class=\"btn_business\" id=\"bbb\" name=\"slidebutton\" onclick=\"ap1('bbb');\" style=\"cursor:pointer;\" title=\"AutoPlay\">播放</a>\n",
       "</div>\n",
       "</form></div>\n",
       "</div>\n",
       "</div>\n",
       "<select id=\"slide3\" name=\"slide3\" style=\"display:none;\" type=\"hidden\">\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724084500000.jpg\">2018年07月24日16时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724091500000.jpg\">2018年07月24日17时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724094500000.jpg\">2018年07月24日17时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724101500000.jpg\">2018年07月24日18时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724104500000.jpg\">2018年07月24日18时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724111500000.jpg\">2018年07月24日19时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724114500000.jpg\">2018年07月24日19时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724121500000.jpg\">2018年07月24日20时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724124500000.jpg\">2018年07月24日20时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724131500000.jpg\">2018年07月24日21时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724134500000.jpg\">2018年07月24日21时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724141500000.jpg\">2018年07月24日22时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724144500000.jpg\">2018年07月24日22时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724151500000.jpg\">2018年07月24日23时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724154500000.jpg\">2018年07月24日23时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724161500000.jpg\">2018年07月25日00时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724164500000.jpg\">2018年07月25日00时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724171500000.jpg\">2018年07月25日01时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724174500000.jpg\">2018年07月25日01时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724181500000.jpg\">2018年07月25日02时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724184500000.jpg\">2018年07月25日02时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724191500000.jpg\">2018年07月25日03时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724194500000.jpg\">2018年07月25日03时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724201500000.jpg\">2018年07月25日04时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724211500000.jpg\">2018年07月25日05时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724214500000.jpg\">2018年07月25日05时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724221500000.jpg\">2018年07月25日06时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724224500000.jpg\">2018年07月25日06时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724231500000.jpg\">2018年07月25日07时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180724234500000.jpg\">2018年07月25日07时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725001500000.jpg\">2018年07月25日08时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725004500000.jpg\">2018年07月25日08时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725011500000.jpg\">2018年07月25日09时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725024500000.jpg\">2018年07月25日10时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725031500000.jpg\">2018年07月25日11时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725034500000.jpg\">2018年07月25日11时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725041500000.jpg\">2018年07月25日12时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725044500000.jpg\">2018年07月25日12时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725051500000.jpg\">2018年07月25日13时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725054500000.jpg\">2018年07月25日13时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725061500000.jpg\">2018年07月25日14时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725064500000.jpg\">2018年07月25日14时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725071500000.jpg\">2018年07月25日15时15分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725074500000.jpg\">2018年07月25日15时45分云图</option>\n",
       "<option selected=\"selected\" value=\"http://pi.weather.com.cn/i/product/pic/m/sevp_nsmc_wxcl_asc_e99_achn_lno_py_20180725081500000.jpg\">2018年07月25日16时15分云图</option>\n",
       "</select>\n",
       "<div class=\"weatherRight\">\n",
       "<div class=\"ShowPic\"> <a href=\"http://www.weather.com.cn/static/html/about/wxdcwj.html\" target=\"_blank\"><img height=\"138\" src=\"/m/i/wx_ad.jpg\" width=\"300\"/></a> </div>\n",
       "<div class=\"LatestUpdateServiceProducts\">\n",
       "<h2 class=\"mainBoxh1\">最新更新的服务产品</h2>\n",
       "<ul>\n",
       "<li><a href=\"/static/product.php?class=JC_DM_NJD_00H\" target=\"_blank\"> </a><span>[07月25日 23时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_W_24\" target=\"_blank\">全国雾24小时预报 </a><span>[07月25日 20时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_M_24\" target=\"_blank\">全国霾24小时预报 </a><span>[07月25日 20时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_WD_GW\" target=\"_blank\">全国高温预报 </a><span>[07月25日 20时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_HY_TQYB\" target=\"_blank\">海平面海洋天气预报 </a><span>[07月25日 18时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=JC_LD_HH\" target=\"_blank\">半小时雷电图 </a><span>[07月25日 16时30分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=JC_LD_CHN\" target=\"_blank\">全国地闪监测 </a><span>[07月25日 16时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_LD_LJ_YDQS\" target=\"_blank\">北京雷电移动趋势预报 </a><span>[07月25日 16时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_LD_LJ_0T15\" target=\"_blank\">雷电临近预报(0-15min) </a><span>[07月25日 16时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_LD_LJ_30T45\" target=\"_blank\">雷电临近预报(30-45min) </a><span>[07月25日 16时00分]</span></li>\n",
       "<li><a href=\"/static/product.php?class=YB_LD_LJ0\" target=\"_blank\">雷电临近预报(45-60min) </a><span>[07月25日 16时00分]</span></li>\n",
       "</ul>\n",
       "<div class=\"more\"><a href=\"http://www.weather.com.cn/static/html/product/index.shtml\" target=\"_blank\">更多</a></div>\n",
       "</div>\n",
       "<div class=\"LatestUpdateServiceProducts\">\n",
       "<h2 class=\"mainBoxh1\">推荐您浏览的服务</h2>\n",
       "<ul>\n",
       "<li><a href=\"http://products.weather.com.cn/product/Index/index/procode/YB_BW_ZD24.shtml\" target=\"_blank\">今日最低气温变化预报 </a><span>[03月07日 08时00分]</span></li>\n",
       "<li><a href=\"http://products.weather.com.cn/product/Index/index/procode/YB_BW_ZG24.shtml\" target=\"_blank\">今日最高气温变化预报 </a><span>[03月08日 08时00分]</span></li>\n",
       "<li><a href=\"http://products.weather.com.cn/product/Index/index/procode/JC_WX_DBWD.shtml\" target=\"_blank\">旬全国地表温度图 </a><span>[07月23日 08时00分]</span></li>\n",
       "<li><a href=\"http://products.weather.com.cn/product/Index/index/procode/JC_JSL_02405.shtml\" target=\"_blank\">全国降水量实况 </a><span>[07月25日 05时00分]</span></li>\n",
       "<li><a href=\"http://products.weather.com.cn/product/Index/index/procode/YB_JSL_024.shtml\" target=\"_blank\">全国24小时降水量预报 </a><span>[07月25日 07时00分]</span></li>\n",
       "<li><a href=\"http://products.weather.com.cn/product/Index/index/procode/YB_JSL_048.shtml\" target=\"_blank\">全国48小时降水量预报 </a><span>[07月25日 08时00分]</span></li>\n",
       "<li><a href=\"http://products.weather.com.cn/product/Index/index/procode/JC_JSL_JPL10.shtml\" target=\"_blank\">全国10天降水距平 </a><span>[07月25日 08时00分]</span></li>\n",
       "</ul>\n",
       "<div class=\"more\"><a href=\"http://www.weather.com.cn/static/html/product/index.shtml\" target=\"_blank\">更多</a></div>\n",
       "</div>\n",
       "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n",
       "\n",
       "<meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\"/>\n",
       "<title>气象服务</title>\n",
       "<link href=\"/m/c/qxfw.css\" media=\"all\" rel=\"stylesheet\" type=\"text/css\"/>\n",
       "<!--<script type=\"text/javascript\" src=\"/m/j/header.js\"></script>-->\n",
       "<div class=\"mobile_weather\">\n",
       "<h2>气象服务</h2>\n",
       "<dl style=\"background: url(/m/i/index/icon_mobile033.gif) no-repeat 0 5px;border-bottom: 1px solid #CCC;border-bottom: 1px solid #CCC;\"><p style=\"width:45px; float:left;\"><a href=\"http://www.weather.com.cn/wzfw/kfzx/index.shtml\" target=\"_blank\"><img src=\"/m/i/kefutm.gif\" style=\"border:0px;\"/></a></p>\n",
       "<dt style=\"color:#3366bb;\"><strong><a href=\"http://www.weather.com.cn/wzfw/kfzx/index.shtml\" style=\"color:#ff0000;\" target=\"_blank\">气象服务热线</a></strong></dt>\n",
       "<dd>拨打400-6000-121进行气象服务咨询、建议、合作与投诉</dd>\n",
       "</dl>\n",
       "<dl style=\"background: url(/m/i/index/icon_mobile01.gif) no-repeat 0 5px;border-bottom: 1px solid #CCC;border-bottom: 1px solid #CCC;\">\n",
       "<dt style=\"color:#3366bb;\"><strong>天气预报电话查询</strong></dt>\n",
       "<dd>拨打12121或96121进行天气预报查询</dd>\n",
       "</dl>\n",
       "<dl style=\"background: url(/m/i/index/icon_mobile03.gif) no-repeat 0 5px;\">\n",
       "<dt><a href=\"http://www.weather.com.cn/wzfw/wapb/index.shtml\" target=\"_blank\">手机查询</a></dt>\n",
       "<dd> 随时随地通过手机登陆中国天气WAP版查看各地天气资讯</dd>\n",
       "</dl>\n",
       "</div> </div>\n",
       "<div class=\"cleardiv\"></div>\n",
       "</div>\n",
       "<script language=\"JavaScript\">\n",
       "  function set_v(name)\n",
       "{ \n",
       "\t\tif (name==\"1\")\n",
       "\t\t{ \n",
       "\t\t\tap('aaa');\n",
       "\t\t} \n",
       "\n",
       "} \n",
       "\n",
       " function set_v1(name)\n",
       "{ \n",
       "\t\tif (name==\"1\")\n",
       "\t\t{ \n",
       "\t\t\tap1('bbb');\n",
       "\t\t} \n",
       "\n",
       "} \n",
       " \n",
       " function set_eco(name)\n",
       "{ \n",
       "\tvar num=document.slideform.eco.length;\n",
       "\tfor (i=0;i<num;i++)\n",
       "\t{ \n",
       "\t\t\tif (document.slideform.eco[i].value==name)\n",
       "\t\t\t{ \n",
       "\t\t\t\tdocument.slideform.eco[i].checked=true;\n",
       "\t\t\t} \n",
       "\t} \n",
       "} \n",
       "\n",
       "\n",
       "function set_speed(name)\n",
       "{ \n",
       "\tvar num=document.slideform.speed.length;\n",
       "\tfor (i=0;i<num;i++)\n",
       "\t{ \n",
       "\t\t\tif (document.slideform.speed[i].value==name)\n",
       "\t\t\t{ \n",
       "\t\t\t\tdocument.slideform.speed[i].checked=true;\n",
       "\t\t\t} \n",
       "\t} \n",
       "} \n",
       "\n",
       "function set_go(a,b)\n",
       "{ \n",
       "\tvar go= document.slideform.slide[0].text;\n",
       "\tvar m=document.slideform.slide.length-1;\n",
       "\t//alert(\"go=\"+a+\"/to=\"+b+\"/\"+m);\n",
       "\tvar to= document.slideform.slide[m].text;\n",
       "\t//\talert(to);\n",
       "\tvar gostr=go.substring(2,17); \n",
       "\tvar tostr=to.substring(2,17); \n",
       "\n",
       "\tfor (i=0;i<document.slideform.slide1.length;i++)\n",
       "\t{\n",
       "\t\tif (document.slideform.slide1[i].text==gostr)\n",
       "\t\t{\n",
       "\t\t\tdocument.slideform.slide1[i].selected=true;\n",
       "\t\t\tbreak;\n",
       "\t\t}\n",
       "\t}\n",
       "\tfor (i=0;i<document.slideform.slide2.length;i++)\n",
       "\t{\n",
       "\t\tif (document.slideform.slide2[i].text==tostr)\n",
       "\t\t{\n",
       "\t\t\tdocument.slideform.slide2[i].selected=true;\n",
       "\t\t\tbreak;\n",
       "\t\t}\n",
       "\t}\n",
       "\n",
       "\n",
       "} \t\n",
       "\t\n",
       "$rel=setInterval('pagereload()',600000);\n",
       "function pagereload()\n",
       "{\n",
       "  $slide=$(\"#slide option:selected\").html();\n",
       "  $slide2=$(\"#slide2 option:selected\").html();\n",
       "  if ($slide.indexOf($slide2)!=(-1))\n",
       " {\n",
       "         URL=window.location.href;\n",
       "\t\t if(URL.indexOf('&')!=-1)\n",
       "\t\t{\n",
       "\t\t \tURL=URL.substring(0,URL.indexOf('&'));\n",
       "\t\t} \n",
       "\t\t window.location.href=URL;\n",
       "  } \n",
       "} \n",
       "\n",
       "$(\"#newest\").click(function()\n",
       " {\n",
       "       URL=window.location.href;\n",
       "\t\t if(URL.indexOf('&')!=-1)\n",
       "\t\t {\n",
       "\t\t \tURL=URL.substring(0,URL.indexOf('&'));\n",
       "\t\t} \n",
       "\t\t window.location.href=URL;\n",
       "} );\n",
       "\n",
       "</script>\n",
       "<!-- START WRating v1.0 -->\n",
       "<script src=\"http://c.wrating.com/a1.js\" type=\"text/javascript\">\n",
       "</script>\n",
       "<script type=\"text/javascript\">\n",
       "var vjAcc=\"860010-2099130100\";\n",
       "var wrUrl=\"http://c.wrating.com/\";\n",
       "vjTrack(\"\");\n",
       "</script>\n",
       "<noscript><img height=\"1\" src=\"http://c.wrating.com/a.gif?a=&amp;c=860010-2099130100\" width=\"1\"/></noscript>\n",
       "<!-- END WRating v1.0 -->\n",
       "<!--<script language=javascript>ap('aaa');</script>-->\n",
       "<script language=\"javascript\">set_eco('JC_YT_DL_WXZXCSYT');</script>\n",
       "<script language=\"javascript\">set_speed('c');</script>\n",
       "<script language=\"javascript\">set_go('','');</script>\n",
       "<script language=\"javascript\">set_v('0');</script>\n",
       "<script language=\"javascript\">set_v1('0');</script>\n",
       "<!--页尾start-->\n",
       "<div class=\"footer\">\n",
       "<div class=\"block\">\n",
       "<div class=\"Lcontent\">\n",
       "<dl style=\"width:240px;margin-left: 50px; margin-right:22px;\">\n",
       "<dt>\n",
       "<h3><a>网站服务</a></h3>\n",
       "</dt>\n",
       "<dd>\n",
       "<p><a href=\"http://www.weather.com.cn/wzfw/gywm/\">关于我们</a><a href=\"http://www.weather.com.cn/wzfw/gywm/\">联系我们</a><a href=\"http://www.weather.com.cn/wzfw/sybz/\">帮助</a><a href=\"http://www.weather.com.cn/wzfw/ryzp/\">人员招聘</a></p>\n",
       "<p><a href=\"http://www.weather.com.cn/wzfw/kfzx/\">客服中心</a><a href=\"http://www.weather.com.cn/wzfw/bqsm/\">版权声明</a><a href=\"http://www.weather.com.cn/wzfw/wzls/\">律师</a><a href=\"http://www.weather.com.cn/wzfw/wzdt/\">网站地图</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<dl style=\"width:201px;\">\n",
       "<dt>\n",
       "<h3><a>营销中心</a></h3>\n",
       "</dt>\n",
       "<dd>\n",
       "<p><a href=\"http://marketing.weather.com.cn/\">企业服务</a><a href=\"http://marketing.weather.com.cn/zyqxfw/\">专业服务</a><a href=\"http://cj.weather.com.cn/\">天气插件</a></p>\n",
       "<p><a href=\"http://marketing.weather.com.cn/wxzdhz/\">无线合作</a><a href=\"http://marketing.weather.com.cn/wzhz/\">网站合作</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<div class=\"clear\"></div>\n",
       "</div>\n",
       "<div class=\"friendLink\">\n",
       "<h3><a>相关链接</a></h3>\n",
       "<p><a href=\"http://typhoon.weather.com.cn/\" target=\"_blank\">中国天气台风网</a><a href=\"http://www.weathertv.cn/\" target=\"_blank\">中国气象视频网</a><a href=\"http://www.tourweather.com.cn/\" target=\"_blank\">中国旅游天气网</a></p>\n",
       "<p><a href=\"http://search.weather.com.cn/static/xxfb/\" target=\"_blank\">气象资讯与预警共享平台</a><a href=\"http://cwera.weather.com.cn/\" target=\"_blank\">风能太阳能资源中心</a><a href=\"http://www.xn121.com/\" target=\"_blank\">中国兴农网</a></p>\n",
       "<p><a href=\"http://www.cma.gov.cn/\" target=\"_blank\">中国气象局</a><a href=\"http://pmsc.cma.gov.cn/\" target=\"_blank\">中国气象局公共气象服务中心</a></p>\n",
       "</div>\n",
       "<div class=\"serviceinfo\">\n",
       "<p><span>客服邮箱：<a href=\"mailto:service@weather.com.cn\">service@weather.com.cn</a></span><span>客户服务热线：<b>400-6000-121</b></span><span>京公网安备11041400134号</span></p>\n",
       "<p><span>广告服务：<b>010-58991910</b></span><span><a href=\"http://www.miibeian.gov.cn/\" target=\"_blank\">京ICP证010385号</a></span><span>增值电信业务经营许可证B2-20050053</span></p>\n",
       "</div>\n",
       "<div class=\"clear\"></div>\n",
       "</div>\n",
       "<div class=\"aboutUs\"> Copyright©<a href=\"http://pmsc.cma.gov.cn/\" target=\"_blank\">中国气象局公共气象服务中心</a> All Rights Reserved (2008-2015) 版权所有 复制必究 郑重声明：中国天气网版权所有，未经书面授权禁止使用 </div>\n",
       "</div>\n",
       "<!--页尾end-->\n",
       "<!--顶部省级end-->\n",
       "<div class=\"provinceLinks\">\n",
       "<div class=\"midBlock\">\n",
       "<dl>\n",
       "<dt><a href=\"http://www.weather.com.cn/textFC/hb.shtml\" target=\"_blank\">华北地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://bj.weather.com.cn\" target=\"_blank\">北京</a><a href=\"http://tj.weather.com.cn\" target=\"_blank\">天津</a><a href=\"http://hebei.weather.com.cn\" target=\"_blank\">河北</a></p>\n",
       "<p><a href=\"http://shanxi.weather.com.cn\" target=\"_blank\">山西</a><a href=\"http://nmg.weather.com.cn\" target=\"_blank\">内蒙古</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<dl>\n",
       "<dt><a href=\"http://www.weather.com.cn/textFC/hd.shtml\" target=\"_blank\">华东地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://sh.weather.com.cn\" target=\"_blank\">上海</a><a href=\"http://js.weather.com.cn\" target=\"_blank\">江苏</a><a href=\"http://zj.weather.com.cn\" target=\"_blank\">浙江</a></p>\n",
       "<p><a href=\"http://ah.weather.com.cn\" target=\"_blank\">安徽</a><a href=\"http://fj.weather.com.cn\" target=\"_blank\">福建</a><a href=\"http://sd.weather.com.cn\" target=\"_blank\">山东</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<dl>\n",
       "<dt><a href=\"http://www.weather.com.cn/textFC/hz.shtml\" target=\"_blank\">华中地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://hubei.weather.com.cn\" target=\"_blank\">湖北</a><a href=\"http://hunan.weather.com.cn\" target=\"_blank\">湖南</a></p>\n",
       "<p><a href=\"http://henan.weather.com.cn\" target=\"_blank\">河南</a><a href=\"http://jx.weather.com.cn\" target=\"_blank\">江西</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<dl>\n",
       "<dt><a href=\"http://www.weather.com.cn/textFC/hn.shtml\" target=\"_blank\">华南地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://gd.weather.com.cn\" target=\"_blank\">广东</a><a href=\"http://gx.weather.com.cn\" target=\"_blank\">广西</a></p>\n",
       "<p><a href=\"http://hainan.weather.com.cn\" target=\"_blank\">海南</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<div class=\"line\"></div>\n",
       "<dl>\n",
       "<dt><a href=\"http://www.weather.com.cn/textFC/xb.shtml\" target=\"_blank\">西北地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://shaanxi.weather.com.cn\" target=\"_blank\">陕西</a><a href=\"http://gs.weather.com.cn\" target=\"_blank\">甘肃</a><a href=\"http://qh.weather.com.cn\" target=\"_blank\">青海</a></p>\n",
       "<p><a href=\"http://nx.weather.com.cn\" target=\"_blank\">宁夏</a><a href=\"http://xj.weather.com.cn\" target=\"_blank\">新疆</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<dl>\n",
       "<dt><a href=\"http://www.weather.com.cn/textFC/xn.shtml\" target=\"_blank\">西南地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://cq.weather.com.cn\" target=\"_blank\">重庆</a><a href=\"http://sc.weather.com.cn\" target=\"_blank\">四川</a><a href=\"http://yn.weather.com.cn\" target=\"_blank\">云南</a></p>\n",
       "<p><a href=\"http://gz.weather.com.cn\" target=\"_blank\">贵州</a><a href=\"http://xz.weather.com.cn\" target=\"_blank\">西藏</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<dl>\n",
       "<dt><a href=\"http://www.weather.com.cn/textFC/db.shtml\" target=\"_blank\">东北地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://ln.weather.com.cn\" target=\"_blank\">辽宁</a><a href=\"http://jl.weather.com.cn\" target=\"_blank\">吉林</a></p>\n",
       "<p><a href=\"http://hlj.weather.com.cn\" target=\"_blank\">黑龙江</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "<dl>\n",
       "<dt class=\"last\"><a href=\"http://www.weather.com.cn/textFC/gat.shtml\" target=\"_blank\">港澳台地区</a></dt>\n",
       "<dd>\n",
       "<p><a href=\"http://www.weather.com.cn/html/province/xianggang.shtml\" target=\"_blank\">香港</a><a href=\"http://mo.weather.com.cn\" target=\"_blank\">澳门</a></p>\n",
       "<p><a href=\"http://www.weather.com.cn/html/province/taiwan.shtml\" target=\"_blank\">台湾</a></p>\n",
       "</dd>\n",
       "</dl>\n",
       "</div>\n",
       "</div>\n",
       "<!--顶部省级end-->\n",
       "<script type=\"text/javascript\">var _bdhmProtocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");document.write(unescape(\"%3Cscript src='\" + _bdhmProtocol + \"hm.baidu.com/h.js%3F080dabacb001ad3dc8b9b9049b36d43b' type='text/javascript'%3E%3C/script%3E\"));</script>\n",
       "<script src=\"http://js.tongji.linezing.com/3496259/tongji.js\" type=\"text/javascript\"></script>\n",
       "<!-- Start Alexa Certify Javascript -->\n",
       "<script type=\"text/javascript\">\n",
       "_atrk_opts = { atrk_acct:\"AMd6l1aoHvD06C\", domain:\"weather.com.cn\",dynamic: true};\n",
       "(function() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = \"https://d31qbv1cthcecs.cloudfront.net/atrk.js\"; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(as, s); })();\n",
       "</script>\n",
       "<noscript><img alt=\"\" height=\"1\" src=\"https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=AMd6l1aoHvD06C\" style=\"display:none\" width=\"1\"/></noscript>\n",
       "<!-- End Alexa Certify Javascript -->\n",
       "<!-- START WRating v1.0 -->\n",
       "<script src=\"http://c.wrating.com/a1.js\" type=\"text/javascript\">\n",
       "</script>\n",
       "<script type=\"text/javascript\">\n",
       "var vjAcc=\"860010-1905010101\";\n",
       "var wrUrl=\"http://c.wrating.com/\";\n",
       "vjTrack(\"\");\n",
       "</script>\n",
       "<noscript><img height=\"1\" src=\"http://c.wrating.com/a.gif?a=&amp;c=860010-1905010101\" width=\"1\"/></noscript>\n",
       "<!-- END WRating v1.0 -->\n",
       "</body></html>"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "bs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<!DOCTYPE html>\n",
       "<html itemscope=\"\" itemtype=\"http://schema.org/SearchResultsPage\" lang=\"en\"><head><meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\"/><meta content=\"/images/branding/googleg/1x/googleg_standard_color_128dp.png\" itemprop=\"image\"/><link href=\"/images/branding/product/ico/googleg_lodp.ico\" rel=\"shortcut icon\"/><title>openthings - Google Search</title><style>#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important} </style><style>.star{float:left;margin-top:1px;overflow:hidden}.ybhkme{font-size:11px}.j{width:34em}body,td,div,.p,a{font-family:arial,sans-serif;tap-highlight-color:rgba(255,255,255,0)}body{margin:0}a img{border:0}#gbar{float:left;height:22px;padding-left:2px;font-size:13px}.gsfi,.gsfs{font-size:17px}.w,.q:active,.q:visited,.tbotu{color:#11c}a.gl{text-decoration:none}#foot{padding:0 8px}#foot a{white-space:nowrap}h3{font-size:16px;font-weight:normal;margin:0;padding:0}#res h3{display:inline}.hd{height:1px;position:absolute;top:-1000em}.g,body,html,table,.std{font-size:13px}.g{margin-bottom:23px;margin-top:0;zoom:1}ol li,ul li{list-style:none}h1,ol,ul,li{margin:0;padding:0}.e{margin:2px 0 0.75em}#leftnav a{text-decoration:none}#leftnav h2{color:#767676;font-weight:normal;margin:0}#nav{border-collapse:collapse;margin-top:17px;text-align:left}#nav td{text-align:center}.nobr{white-space:nowrap}.ts{border-collapse:collapse}.s br{display:none}.csb{display:block;height:40px}.images_table td{line-height:17px;padding-bottom:16px}.images_table img{border:1px solid #ccc;padding:1px}#tbd,#abd{display:block;min-height:1px}#abd{padding-top:3px}#tbd li{display:inline}.TIrJXe,.UU5df{margin-bottom:8px}#tbd .tbt li{display:block;font-size:13px;line-height:1.2;padding-bottom:3px;padding-left:8px;text-indent:-8px}.tbos,.b{font-weight:bold}em{font-weight:bold;font-style:normal}.mime{color:#1a0dab;font-weight:bold;font-size:x-small}.soc a{text-decoration:none}.soc{color:#808080}.ul7Gbc{color:#e7711b}#Db7kif{border:1px solid #e0e0e0;margin-left:-8px;margin-right:-8px;padding:15px 20px 5px}.mrH1y{font-size:32px}.PZ6wOb{color:#777;font-size:16px;margin-top:5px}.gwrItc{color:#777;font-size:14px;margin-top:5px}.SVob4e{border:1px solid #e0e0e0;padding-left:20px}.mYu5Hb{border:1px solid #e0e0e0;padding:5px 20px}#vob{border:1px solid #e0e0e0;padding:15px 15px}#ZjIC2e{font-size:22px;line-height:22px;padding-bottom:5px}#vob_st{line-height:1.24}.DfLGHd{border-width:1px;border-style:solid;border-color:#eee;background-color:#fff;position:relative;margin-bottom:26px}.uRIxYb,.NjTIc,.PftIHd,.DXoZmb{font-family:Arial;font-weight:lighter}.uRIxYb{margin-bottom:5px}.uRIxYb{font-size:xx-large}.NjTIc{font-size:medium}.PftIHd{font-size:large}.DXoZmb{font-size:small}.DfLGHd{margin-left:-8px;margin-right:-15px;padding:20px 20px 24px}.ernfsc{border-spacing:0px 2px}.D3VFNd{max-width:380px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-left:0px}.c1Ujmc{padding-left:15px;white-space:nowrap;color:#666}.EjZtie{padding-left:0px}.SFt5jb{color:#212121}.Pt7r9e{color:#878787}.bkcGhd{color:#093}.fIP9ce{color:#c00}.LDBB9d{padding:1px}.gssb_a{padding:0 10px !important}.gssb_c{left:132px !important;right:295px !important;top:78px !important;width:572px !important}.gssb_c table{font-size:16px !important}.gssb_e{border:1px solid #ccc !important;border-top-color:#d9d9d9 !important}.gssb_i{background:#eee !important}#res{padding:0 8px}#rhs_block{padding-top:43px}#MCN7mf{padding:0 8px}#subform_ctrl{font-size:11px;height:17px;margin:5px 3px 0 17px}.taf{padding-bottom:3px}.WIkLp{padding:20px 0 3px}.FuZzl{padding:20px 0 3px}#topstuff .e{padding-bottom:6px}.slk .sld{width:250px}.slk{margin-bottom:-3px}.slk .zaHRAf{padding-bottom:5px;width:250px}.ac,.st{line-height:1.24}.mfr,#ofr{font-size:16px;margin:1em 0;padding:0 8px}.tZz6cc{padding-bottom:25px}.s{color:#545454}.ac{color:#545454}a.fl,.A8ul6 a,.osl a{color:#1a0dab;text-decoration:none}a:link{color:#1a0dab;cursor:pointer}#tads a:link{color:#1a0dab}#tads .soc a:link{color:#808080}a:visited{color:#61C}.blg a{text-decoration:none}cite,cite a:link{color:#006621;font-style:normal}#tads cite{color:#006621}.hJND5c{font-size:15px}.kvs{margin-top:1px}.hJND5c,.kvs,.slp{display:block;margin-bottom:1px}.kt{border-spacing:2px 0;margin-top:1px}.f{color:#808080}.L4Zeue{color:#093}h4.r{display:inline;font-size:small;font-weight:normal}.g{line-height:1.2}.NpC9Hd{display:inline-block;vertical-align:top;overflow:hidden;position:relative}.COi8F{margin:0 0 2em 1.3em}.COi8F li{list-style-type:disc}.osl{color:#777;margin-top:4px}.r{font-size:16px;margin:0}.spell{font-size:16px}.spell_orig{font-size:13px}.spell_orig a{text-decoration:none}.spell_orig b i{font-style:normal;font-weight:normal}.th{border:1px solid #ebebeb}.ts td{padding:0}.videobox{padding-bottom:3px}.slk a{text-decoration:none}#leftnav a:hover,#leftnav .tbou a:hover,.slk h3 a,a:hover{text-decoration:underline}#mn{table-layout:fixed;width:100%}#leftnav a{color:#222;font-size:13px}#leftnav{padding:43px 4px 4px 0}.tbos{color:#dd4b39}.tbt{margin-bottom:28px}#tbd{padding:0 0 0 16px}.tbou a{color:#222}#center_col{border:0;padding:0 8px 0 0}#topstuff .e{padding-top:3px}#topstuff .sp_cnt{padding-top:6px}#ab_name{color:#dd4b39;font:20px \"Arial\";margin-left:15px}#resultStats{color:#999;font-size:13px;overflow:hidden;white-space:nowrap}.mslg>td{padding-right:1px;padding-top:2px}.slk .sld{margin-top:2px;padding:5px 0 5px 5px}.fmp{padding-top:3px}.close_btn{overflow:hidden}#fll a,#bfl a{color:#1a0dab !important;margin:0 12px;text-decoration:none !important}.ng{color:#dd4b39}#mss{margin:.33em 0 0;padding:0;display:table}.NYKCib{display:inline-block;float:left;white-space:nowrap;padding-right:16px}#mss p{margin:0;padding-top:5px}.tn{border-bottom:1px solid #ebebeb;display:block;float:left;height:59px;line-height:54px;min-width:980px;padding:0;position:relative;white-space:nowrap}.qrSWbe,a.qrSWbe{color:#777;cursor:pointer;display:inline-block;font-family:arial,sans-serif;font-size:small;height:54px;line-height:54px;margin:0 8px;padding:0 8px;text-decoration:none;white-space:nowrap}.tnuiC{border-bottom:3px solid #dd4b39;color:#dd4b39;font-weight:bold;margin:2px 8px 0}a.KDZjCd:hover{color:black;text-decoration:none;white-space:nowrap}body{margin:0;padding:0}.sFTC8c{display:inline-block;float:left;margin-top:2px}.pqkqJe,a.pqkqJe{margin-left:1px}.sd{line-height:43px;padding:0 8px 0 9px}a:active,.osl a:active,.tbou a:active,#leftnav a:active{color:#dd4b39}#bfl a:active{color:#dd4b39 !important}.csb{background:url(/images/nav_logo229.png) no-repeat;overflow:hidden}.close_btn{background:url(/images/nav_logo229.png) no-repeat -138px -84px;height:14px;width:14px;display:block}.star{background:url(/images/nav_logo229.png) no-repeat -94px -245px;height:13px;width:65px;display:block}.star div,.star span{background:url(/images/nav_logo229.png) no-repeat 0 -245px;height:13px;width:65px;display:block}.Pj9hGd{display:inline;margin:0 3px;outline-color:transparent;overflow:hidden;position:relative}.Pj9hGd>div{outline-color:transparent}.CiacGf{border-color:transparent;border-style:solid dashed dashed;border-top-color:green;border-width:4px 4px 0 4px;cursor:pointer;display:inline-block;font-size:0;height:0;left:4px;line-height:0;outline-color:transparent;position:relative;top:-3px;width:0}.CiacGf{margin-top:-4px}.am-dropdown-menu{display:block;background:#fff;border:1px solid #dcdcdc;font-size:13px;left:0;padding:0;position:absolute;right:auto;white-space:nowrap;z-index:3}.mUpfKd{list-style:none;white-space:nowrap}.mUpfKd:hover{background-color:#eee}a.imx0m{color:#333;cursor:pointer;display:block;padding:7px 18px;text-decoration:none}#tads a.imx0m{color:#333}.sfbgg{background:#f1f1f1;border-bottom:1px solid #e5e5e5;height:71px}#logocont{z-index:1;padding-left:4px;padding-top:4px}#logo{display:block;height:49px;margin-top:12px;margin-left:12px;overflow:hidden;position:relative;width:137px}#logo img{left:0;position:absolute;top:-41px}.lst-a{background:white;border:1px solid #d9d9d9;border-top-color:silver;width:570px}.lst-a:hover{border:1px solid #b9b9b9;border-top:1px solid #a0a0a0;box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.lst-td{border:none;padding:0}.tia input{border-right:none;padding-right:0}.tia{padding-right:0}.lst{background:none;border:none;color:#000;font:16px arial,sans-serif;float:left;height:22px;margin:0;padding:3px 6px 2px 9px;vertical-align:top;width:100%;word-break:break-all}.lst:focus{outline:none}.lst-b{background:none;border:none;height:26px;padding:0 6px 0 12px}.ds{border-right:1px solid #e7e7e7;position:relative;height:29px;margin-left:17px;z-index:100}.lsbb{background-image:-moz-linear-gradient(top,#4d90fe,#4787ed);background-image:-ms-linear-gradient(top,#4d90fe,#4787ed);background-image:-o-linear-gradient(top,#4d90fe,#4787ed);background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));background-image:-webkit-linear-gradient(top,#4d90fe,#4787ed);background-image:linear-gradient(top,#4d90fe,#4787ed);border:1px solid #3079ed;border-radius:2px;background-color:#4d90fe;height:27px;width:68px}.lsbb:hover{background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8));background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-color:#357ae8;background-image:linear-gradient(top,#4d90fe,#357ae8);border:1px solid #2f5bb7}.lsb{background:transparent;background-position:0 -343px;background-repeat:repeat-x;border:none;color:#000;cursor:default;font:15px arial,sans-serif;height:29px;margin:0;vertical-align:top;width:100%}.lsb:active{-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);background:transparent;color:transparent;overflow:hidden;position:relative;width:100%}.sbico{color:transparent;display:inline-block;height:15px;margin:0 auto;margin-top:2px;width:15px;overflow:hidden}</style><script nonce=\"WkMZnmsUzHRWjz3u7Zn8lQ==\">(function(){window.google={kEI:'BY1YW-C8JMnWjwT87Y2IDA',kEXPI:'0,201846,1151900,58,1900,57,1018,281,710,1004,635,195,460,3,22,94,155,127,314,145,347,2338791,255,172,32,318990,10304,1294,12383,2349,2506,23561,4,9127,15247,867,316,10445,1402,6381,3335,2,2,4605,2196,367,550,664,2102,113,2201,3191,224,501,3,512,1202,130,130,1269,2472,1366,575,1119,2,578,728,310,296,1825,59,2,1,3,61,129,1107,1705,7,1376,505,730,377,1719,609,49,644,302,1267,292,482,195,1037,1020,279,2,841,283,1701,438,1193,530,22,599,5,2,2,657,1553,87,117,2,75,3,933,398,301,614,283,509,1587,214,82,1344,69,335,110,90,264,11,43,18,7,10,162,334,123,7,996,114,78,51,105,386,8,592,1,304,69,31,87,7,1,2,25,446,17,620,29,442,452,4,5,3,4,73,6,282,124,245,131,75,7,62,7,71,138,353,1,1,403,376,435,128,402,78,161,536,178,189,558,135,638,308,1,21,267,150,125,250,116,61,3,110,84,14,145,257,194,240,2322884,3685997,2554,31114518',authuser:0,kscs:'c9c918f0_BY1YW-C8JMnWjwT87Y2IDA',kGL:'US'};google.kHL='en';})();google.time=function(){return(new Date).getTime()};(function(){google.lc=[];google.li=0;google.getEI=function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute(\"eid\")));)a=a.parentNode;return b||google.kEI};google.getLEI=function(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute(\"leid\")));)a=a.parentNode;return b};google.https=function(){return\"https:\"==window.location.protocol};google.ml=function(){return null};google.wl=function(a,b){try{google.ml(Error(a),!1,b)}catch(d){}};google.log=function(a,b,d,c,g){if(a=google.logUrl(a,b,d,c,g)){b=new Image;var e=google.lc,f=google.li;e[f]=b;b.onerror=b.onload=b.onabort=function(){delete e[f]};google.vel&&google.vel.lu&&google.vel.lu(a);b.src=a;google.li=f+1}};google.logUrl=function(a,b,d,c,g){var e=\"\",f=google.ls||\"\";d||-1!=b.search(\"&ei=\")||(e=\"&ei=\"+google.getEI(c),-1==b.search(\"&lei=\")&&(c=google.getLEI(c))&&(e+=\"&lei=\"+c));c=\"\";!d&&google.cshid&&-1==b.search(\"&cshid=\")&&\"slh\"!=a&&(c=\"&cshid=\"+google.cshid);a=d||\"/\"+(g||\"gen_204\")+\"?atyp=i&ct=\"+a+\"&cad=\"+b+e+f+\"&zx=\"+google.time()+c;/^http:/i.test(a)&&google.https()&&(google.ml(Error(\"a\"),!1,{src:a,glmm:1}),a=\"\");return a};}).call(this);(function(){google.y={};google.x=function(a,b){if(a)var c=a.id;else{do c=Math.random();while(google.y[c])}google.y[c]=[a,b];return!1};google.lm=[];google.plm=function(a){google.lm.push.apply(google.lm,a)};google.lq=[];google.load=function(a,b,c){google.lq.push([[a],b,c])};google.loadAll=function(a,b){google.lq.push([a,b])};}).call(this);google.f={};(function(){var b={gen204:\"dcl\",clearcut:4};var c=[function(){google.c&&google.tick(\"load\",b)}];google.dclc=function(a){c.length?c.push(a):a()};function d(){for(var a;a=c.shift();)a()}window.addEventListener?(document.addEventListener(\"DOMContentLoaded\",d,!1),window.addEventListener(\"load\",d,!1)):window.attachEvent&&window.attachEvent(\"onload\",d);}).call(this);</script><script nonce=\"WkMZnmsUzHRWjz3u7Zn8lQ==\" type=\"text/javascript\"></script><script nonce=\"WkMZnmsUzHRWjz3u7Zn8lQ==\">(function(){google.sham=function(c){for(var d=c.parentElement,a=null,b=0;b<d.childNodes.length;b++){var e=d.childNodes[b];-1<(\" \"+e.className+\" \").indexOf(\" am-dropdown-menu \")&&(a=e)}\"none\"==a.style.display?(a.style.display=\"\",google.log(\"hpam\",\"&ved=\"+c.getAttribute(\"data-ved\"))):a.style.display=\"none\"};}).call(this);(function(){var b=[];google.jsc={xx:b,x:function(a){b.push(a)},mm:[],m:function(a){google.jsc.mm=a}};}).call(this);</script></head><body bgcolor=\"#ffffff\" class=\"hsrp\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\"><div id=\"gbar\"><nobr><b class=\"gb1\">Search</b> <a class=\"gb1\" href=\"https://www.google.com/search?hl=en&amp;tbm=isch&amp;source=og&amp;tab=wi\">Images</a> <a class=\"gb1\" href=\"https://maps.google.com/maps?hl=en&amp;tab=wl\">Maps</a> <a class=\"gb1\" href=\"https://play.google.com/?hl=en&amp;tab=w8\">Play</a> <a class=\"gb1\" href=\"https://www.youtube.com/results?gl=US&amp;tab=w1\">YouTube</a> <a class=\"gb1\" href=\"https://news.google.com/nwshp?hl=en&amp;tab=wn\">News</a> <a class=\"gb1\" href=\"https://mail.google.com/mail/?tab=wm\">Gmail</a> <a class=\"gb1\" href=\"https://drive.google.com/?tab=wo\">Drive</a> <a class=\"gb1\" href=\"https://www.google.com/intl/en/options/\" style=\"text-decoration:none\"><u>More</u> »</a></nobr></div><div id=\"guser\" width=\"100%\"><nobr><span class=\"gbi\" id=\"gbn\"></span><span class=\"gbf\" id=\"gbf\"></span><span id=\"gbe\"></span><a class=\"gb4\" href=\"http://www.google.com/history/optout?hl=en\">Web History</a> | <a class=\"gb4\" href=\"/preferences?hl=en\">Settings</a> | <a class=\"gb4\" href=\"https://accounts.google.com/ServiceLogin?hl=en&amp;passive=true&amp;continue=https://www.google.com.hk/search%3Fnewwindow%3D1%26safe%3Dstrict%26ei%3DtjRYW8WJOPPy9AOb75WoCw%26q%3Dopenthings\" id=\"gb_70\" target=\"_top\">Sign in</a></nobr></div><div class=\"gbh\" style=\"left:0\"></div><div class=\"gbh\" style=\"right:0\"></div><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"mn\" style=\"position:relative\"><tr><th width=\"132\"></th><th width=\"573\"></th><th width=\"278\"></th><th></th></tr><tr><td class=\"sfbgg\" valign=\"top\"><div id=\"logocont\"><h1><a href=\"/webhp?hl=en\" id=\"logo\" style=\"background:url(/images/nav_logo229.png) no-repeat 0 -41px;height:37px;width:95px;display:block\" title=\"Go to Google Home\"></a></h1></div></td><td class=\"sfbgg\" colspan=\"2\" style=\"padding-left:0px\" valign=\"top\"><form action=\"/search\" id=\"tsf\" method=\"GET\" name=\"gs\" style=\"display:block;margin:0;background:none\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin-top:20px;position:relative\"><tr><td><div class=\"lst-a\"><table cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"lst-td\" valign=\"bottom\" width=\"555\"><div style=\"position:relative;zoom:1\"><input autocomplete=\"off\" class=\"lst\" id=\"sbhost\" maxlength=\"2048\" name=\"q\" title=\"Search\" type=\"text\" value=\"openthings\"/></div></td></tr></table></div></td><td><div class=\"ds\"><div class=\"lsbb\"><button class=\"lsb\" name=\"btnG\" type=\"submit\" value=\"Search\"><span class=\"sbico\" style=\"background:url(/images/nav_logo229.png) no-repeat -36px -111px;height:14px;width:13px;display:block\"></span></button></div></div></td></tr></table><input name=\"newwindow\" type=\"hidden\" value=\"1\"/><input name=\"safe\" type=\"hidden\" value=\"strict\"/></form></td><td class=\"sfbgg\"> </td></tr><tr style=\"position:relative\"><td><div style=\"border-bottom:1px solid #ebebeb;height:59px\"></div></td><td colspan=\"2\"><div class=\"tn\"><div class=\"qrSWbe tnuiC sFTC8c pqkqJe\">All</div><div class=\"sFTC8c\"><a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUIBQ\">Images</a></div><div class=\"sFTC8c\"><a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=vid&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUIBg\">Videos</a></div><div class=\"sFTC8c\"><a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=nws&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUIBw\">News</a></div><div class=\"sFTC8c\"><a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=shop&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUICA\">Shopping</a></div><div class=\"sFTC8c\"><a class=\"qrSWbe KDZjCd\" href=\"https://maps.google.com.hk/maps?newwindow=1&amp;safe=strict&amp;q=openthings&amp;um=1&amp;ie=UTF-8&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUICQ\">Maps</a></div><div class=\"sFTC8c\"><a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=bks&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUICg\">Books</a></div></div><div style=\"border-bottom:1px solid #ebebeb;height:59px\"></div></td><td><div style=\"border-bottom:1px solid #ebebeb;height:59px\"></div></td></tr><tbody id=\"desktop-search\"><style>.pCA4Bd,.pCA4Bd a:link,.pCA4Bd a:visited,a.pCA4Bd:link,a.pCA4Bd:visited{color:#808080}.AzrInc{color:#61C}.ellip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}</style><tr><td id=\"leftnav\" valign=\"top\"><div><h2 class=\"hd\">Search Options</h2><ul class=\"med\" id=\"tbd\"><li><ul class=\"tbt\"><li class=\"tbos\" id=\"qdr_\">Any time</li><li class=\"tbou\" id=\"qdr_h\"><a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=qdr:h&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Past hour</a></li><li class=\"tbou\" id=\"qdr_d\"><a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=qdr:d&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Past 24 hours</a></li><li class=\"tbou\" id=\"qdr_w\"><a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=qdr:w&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Past week</a></li><li class=\"tbou\" id=\"qdr_m\"><a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=qdr:m&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Past month</a></li><li class=\"tbou\" id=\"qdr_y\"><a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=qdr:y&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Past year</a></li></ul></li><li><ul class=\"tbt\"><li class=\"tbos\" id=\"li_\">All results</li><li class=\"tbou\" id=\"li_1\"><a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=li:1&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Verbatim</a></li></ul></li></ul></div></td><td valign=\"top\"><div id=\"center_col\"><div class=\"sd\" id=\"resultStats\">About 395,000 results</div><div id=\"res\"><div id=\"topstuff\"></div><div id=\"search\"><div id=\"ires\"><ol><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=https://openthings.io/&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFggUMAA&amp;usg=AOvVaw05wup_XXgur_Kt2Pn43PbJ\" target=\"_blank\"><b>OpenThings</b></a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>https://<b>openthings</b>.io/</cite><div class=\"Pj9hGd\"><div aria-expanded=\"false\" aria-haspopup=\"true\" data-ved=\"0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ7B0IFTAA\" onclick=\"google.sham(this);\" style=\"display:inline\" tabindex=\"0\"><span class=\"CiacGf\"></span></div><div class=\"am-dropdown-menu\" role=\"menu\" style=\"display:none\" tabindex=\"-1\"><ul><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/url?q=http://webcache.googleusercontent.com/search%3Fq%3Dcache:TbNqgXlgvNoJ:https://openthings.io/%252Bopenthings%26newwindow%3D1%26safe%3Dstrict%26hl%3Den%26ct%3Dclnk&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQIAgXMAA&amp;usg=AOvVaw1XilIMyMwXUEoUzBtG2Fp7\" target=\"_blank\">Cached</a></li><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/search?newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;q=related:https://openthings.io/+openthings&amp;tbo=1&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQHwgYMAA\">Similar</a></li></ul></div></div></div><span class=\"st\">Home of the OpenSprinkler and OpenGarage home automation devices.</span><br/></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=https://openthings.io/forums/&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFggaMAE&amp;usg=AOvVaw15GPo4dB2BpA8W5jL62OS3\" target=\"_blank\">Forums | <b>OpenThings</b></a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>https://<b>openthings</b>.io/forums/</cite><div class=\"Pj9hGd\"><div aria-expanded=\"false\" aria-haspopup=\"true\" data-ved=\"0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ7B0IGzAB\" onclick=\"google.sham(this);\" style=\"display:inline\" tabindex=\"0\"><span class=\"CiacGf\"></span></div><div class=\"am-dropdown-menu\" role=\"menu\" style=\"display:none\" tabindex=\"-1\"><ul><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/url?q=http://webcache.googleusercontent.com/search%3Fq%3Dcache:L8fjlUghr3sJ:https://openthings.io/forums/%252Bopenthings%26newwindow%3D1%26safe%3Dstrict%26hl%3Den%26ct%3Dclnk&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQIAgdMAE&amp;usg=AOvVaw1Y6cIpR0CDMhs6mWNRvvXX\" target=\"_blank\">Cached</a></li></ul></div></div></div><span class=\"st\">Recent Topics. Topic; Views; Posts; Freshness. Can the Opensprinkler and <br/>\n",
       "RFToy work with the Sonoff RF Devices ? Started by: merkurmaniac in: RFToy.</span><br/></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=http://www.openthings.wiki/&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFggfMAI&amp;usg=AOvVaw2JyehvT-6lSUzGE3EThKa6\" target=\"_blank\"><b>Openthings</b> | Home</a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>www.<b>openthings</b>.wiki/</cite><div class=\"Pj9hGd\"><div aria-expanded=\"false\" aria-haspopup=\"true\" data-ved=\"0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ7B0IIDAC\" onclick=\"google.sham(this);\" style=\"display:inline\" tabindex=\"0\"><span class=\"CiacGf\"></span></div><div class=\"am-dropdown-menu\" role=\"menu\" style=\"display:none\" tabindex=\"-1\"><ul><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/url?q=http://webcache.googleusercontent.com/search%3Fq%3Dcache:XbEUZ_cVlZwJ:http://www.openthings.wiki/%252Bopenthings%26newwindow%3D1%26safe%3Dstrict%26hl%3Den%26ct%3Dclnk&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQIAgiMAI&amp;usg=AOvVaw1FAnBXLsPilja0ERAK7CMu\" target=\"_blank\">Cached</a></li></ul></div></div></div><span class=\"st\"><b>Openthings</b> is a platform where people can design together and stimulate <br/>\n",
       "collaboration to make great projects happen.</span><br/><div class=\"osl\"><a href=\"/url?q=https://www.openthings.wiki/project/list&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ0gIIJCgAMAI&amp;usg=AOvVaw10ALX2Xx9-5hjrXPIncU2c\" target=\"_blank\">Projects</a> - <a href=\"/url?q=https://www.openthings.wiki/designer/list&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ0gIIJSgBMAI&amp;usg=AOvVaw08aBicixwbizAVXBfgINKB\" target=\"_blank\">Bees</a> - <a href=\"/url?q=https://www.openthings.wiki/logout&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ0gIIJigCMAI&amp;usg=AOvVaw2q1DCsbEvgWwAZkg0AxUOu\" target=\"_blank\">Logout</a> - <a href=\"/url?q=https://www.openthings.wiki/%23login&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ0gIIJygDMAI&amp;usg=AOvVaw3-uyBpaSkIlSCPowkrKe7m\" target=\"_blank\">Login / Register</a></div></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=http://www.sentec.co.uk/our-technology/micromonitor/openthings&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFggpMAM&amp;usg=AOvVaw3nenyzG1SENF_XulhABUBz\" target=\"_blank\"><b>OpenThings</b> | Sentec</a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>www.sentec.co.uk/our-technology/micromonitor/<b>openthings</b></cite><div class=\"Pj9hGd\"><div aria-expanded=\"false\" aria-haspopup=\"true\" data-ved=\"0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ7B0IKjAD\" onclick=\"google.sham(this);\" style=\"display:inline\" tabindex=\"0\"><span class=\"CiacGf\"></span></div><div class=\"am-dropdown-menu\" role=\"menu\" style=\"display:none\" tabindex=\"-1\"><ul><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/url?q=http://webcache.googleusercontent.com/search%3Fq%3Dcache:3k6WU3KVfPoJ:http://www.sentec.co.uk/our-technology/micromonitor/openthings%252Bopenthings%26newwindow%3D1%26safe%3Dstrict%26hl%3Den%26ct%3Dclnk&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQIAgsMAM&amp;usg=AOvVaw3jWZUAwGvNVyk-1XbgF1EJ\" target=\"_blank\">Cached</a></li><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/search?newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;q=related:www.sentec.co.uk/our-technology/micromonitor/openthings+openthings&amp;tbo=1&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQHwgtMAM\">Similar</a></li></ul></div></div></div><span class=\"st\">The <b>OpenThings</b> data protocol makes it easy to create new products for the <br/>\n",
       "Internet of Things. Created by Sentec, <b>OpenThings</b> is: Easy to implement...</span><br/></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=https://trello.com/b/ztcZRp8n/openthings&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFggvMAQ&amp;usg=AOvVaw19K6fGy4AO4L-Yc47rh1gX\" target=\"_blank\"><b>Openthings</b> - Trello</a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>https://trello.com/b/ztcZRp8n/<b>openthings</b></cite></div><span class=\"st\">Trello is the visual collaboration platform that gives teams perspective on projects<br/>\n",
       ". Use Trello to collaborate, communicate and coordinate on all of your projects.</span><br/></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=https://waag.org/en/project/openthings-platform&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFggxMAU&amp;usg=AOvVaw36_r4VOARPBt1-dgHK7t85\" target=\"_blank\"><b>Openthings</b> platform | Waag</a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>https://waag.org/en/project/<b>openthings</b>-platform</cite><div class=\"Pj9hGd\"><div aria-expanded=\"false\" aria-haspopup=\"true\" data-ved=\"0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ7B0IMjAF\" onclick=\"google.sham(this);\" style=\"display:inline\" tabindex=\"0\"><span class=\"CiacGf\"></span></div><div class=\"am-dropdown-menu\" role=\"menu\" style=\"display:none\" tabindex=\"-1\"><ul><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/url?q=http://webcache.googleusercontent.com/search%3Fq%3Dcache:AZkYLM0CpRkJ:https://waag.org/en/project/openthings-platform%252Bopenthings%26newwindow%3D1%26safe%3Dstrict%26hl%3Den%26ct%3Dclnk&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQIAg0MAU&amp;usg=AOvVaw0qq3KPI6GyEv2JE-NIzVX1\" target=\"_blank\">Cached</a></li><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/search?newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;q=related:https://waag.org/en/project/openthings-platform+openthings&amp;tbo=1&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQHwg1MAU\">Similar</a></li></ul></div></div></div><span class=\"st\">Jun 1, 2016 <b>...</b> <b>Openthings</b> formed a platform for designers who wanted to go beyond <br/>\n",
       "consuming and become prosumers.</span><br/></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=https://www.facebook.com/Openthings-1436525223310018/&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFgg4MAY&amp;usg=AOvVaw1FIQSa6U9OJFFMdIx7WIDO\" target=\"_blank\"><b>Openthings</b> - Home | Facebook</a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>https://www.facebook.com/<b>Openthings</b>-1436525223310018/</cite></div><span class=\"st\"><b>Openthings</b>. 55 likes. <b>Openthings</b> is a platform passionate about collaborative <br/>\n",
       "development where sharing is the foundation.</span><br/></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=https://github.com/whaleygeek/pyenergenie/issues/10&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFgg6MAc&amp;usg=AOvVaw1LrT8pHrDsL-5mM8JGdjAY\" target=\"_blank\">OpenHEMS vs <b>OpenThings</b> · Issue #10 · whaleygeek/pyenergenie ...</a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>https://github.com/whaleygeek/pyenergenie/issues/10</cite><div class=\"Pj9hGd\"><div aria-expanded=\"false\" aria-haspopup=\"true\" data-ved=\"0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ7B0IOzAH\" onclick=\"google.sham(this);\" style=\"display:inline\" tabindex=\"0\"><span class=\"CiacGf\"></span></div><div class=\"am-dropdown-menu\" role=\"menu\" style=\"display:none\" tabindex=\"-1\"><ul><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/url?q=http://webcache.googleusercontent.com/search%3Fq%3Dcache:wus8BQaT7ScJ:https://github.com/whaleygeek/pyenergenie/issues/10%252Bopenthings%26newwindow%3D1%26safe%3Dstrict%26hl%3Den%26ct%3Dclnk&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQIAg9MAc&amp;usg=AOvVaw1g5lKYN-B8reIcl0ksnqhB\" target=\"_blank\">Cached</a></li><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/search?newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;q=related:https://github.com/whaleygeek/pyenergenie/issues/10+openthings&amp;tbo=1&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQHwg-MAc\">Similar</a></li></ul></div></div></div><span class=\"st\">Oct 10, 2015 <b>...</b> OpenHEMS has been renamed as <b>OpenThings</b>: http://www.sentec.co.uk/<br/>\n",
       "technologies/<b>openthings</b> The protocols are identical. In a later release, ...</span><br/></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;tbm=isch&amp;tbo=u&amp;source=univ&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQsAQIQQ\">Images for <b>openthings</b></a></h3><br/><div><a href=\"/url?q=http://spongebob.wikia.com/wiki/How_to_Open_Things&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQwW4IQzAI&amp;usg=AOvVaw1ZGQXv34-NJ6D2CtpFtSqj\" target=\"_blank\"><img align=\"middle\" alt=\"Image result for openthings\" height=\"85\" src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRu4_CN74Cu9Mwr0mRdHfbziQ1Qep1ckO2Tjwey8jIjioyHe3gIL2Q8ag\" style=\"margin:3px 0;margin-right:6px;padding:0\" title=\"http://spongebob.wikia.com/wiki/How_to_Open_Things\" width=\"75\"/></a><a href=\"/url?q=http://en.spongepedia.org/index.php%3Ftitle%3DHow_to_Open_Things&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQwW4IRTAJ&amp;usg=AOvVaw3eiWm-eGauaC0yQUwgwcl4\" target=\"_blank\"><img align=\"middle\" alt=\"Image result for openthings\" height=\"90\" src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSiwi4q43u7BwhnEB9iDyDeGkNfjtLmmqiG27pjSiCroyB7hdFK-YxGGg\" style=\"margin:3px 0;margin-right:6px;padding:0\" title=\"http://en.spongepedia.org/index.php?title=How_to_Open_Things\" width=\"92\"/></a><a href=\"/url?q=https://www.buzzfeed.com/tlo27/6-easy-hacks-for-hard-to-open-things&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQwW4IRzAK&amp;usg=AOvVaw3P4wjB3Hvo11ztQIXCeetr\" target=\"_blank\"><img align=\"middle\" alt=\"Image result for openthings\" height=\"70\" src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ_cxxu7KKUumu3VGPMKpjC0piRhSL3JTWHlIzNajMD9dMluLHNWh-gKQo\" style=\"margin:3px 0;margin-right:6px;padding:0\" title=\"https://www.buzzfeed.com/tlo27/6-easy-hacks-for-hard-to-open-things\" width=\"106\"/></a><a href=\"/url?q=https://openthings.io/&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQwW4ISTAL&amp;usg=AOvVaw06JBO4j9eEE4jAJkWerlws\" target=\"_blank\"><img align=\"middle\" alt=\"Image result for openthings\" height=\"68\" src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ_-vHRXh502obIRW5bY4appVrRyDRol_QKiICFFOietyaQ_KV7HT0BeGE\" style=\"margin:3px 0;margin-right:6px;padding:0\" title=\"https://openthings.io/\" width=\"106\"/></a><a href=\"/url?q=https://rumorscity.com/2014/10/21/there-is-an-easier-way-to-open-these-hard-to-open-things/&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQwW4ISzAM&amp;usg=AOvVaw2y0ekeulJwZFyyU0F3oDc2\" target=\"_blank\"><img align=\"middle\" alt=\"Image result for openthings\" height=\"90\" src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRpurQjuRyL8AM8neZFR55cLxhAUWMT-1LXi-M76wOEe_Ew4YjqvIikAOo\" style=\"margin:3px 0;margin-right:6px;padding:0\" title=\"https://rumorscity.com/2014/10/21/there-is-an-easier-way-to-open-these-hard-to-open-things/\" width=\"120\"/></a></div></div><div class=\"g\"><h3 class=\"r\"><a href=\"/url?q=https://allthingsopen.org/&amp;sa=U&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQFghNMA0&amp;usg=AOvVaw35Z6zkgN5Ru5b8sO6TrT0q\" target=\"_blank\">All Things Open Conference</a></h3><div class=\"s\"><div class=\"hJND5c\" style=\"margin-bottom:2px\"><cite>https://allthingsopen.org/</cite><div class=\"Pj9hGd\"><div aria-expanded=\"false\" aria-haspopup=\"true\" data-ved=\"0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ7B0ITjAN\" onclick=\"google.sham(this);\" style=\"display:inline\" tabindex=\"0\"><span class=\"CiacGf\"></span></div><div class=\"am-dropdown-menu\" role=\"menu\" style=\"display:none\" tabindex=\"-1\"><ul><li class=\"mUpfKd\"><a class=\"imx0m\" href=\"/search?newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;q=related:https://allthingsopen.org/+openthings&amp;tbo=1&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQHwhQMA0\">Similar</a></li></ul></div></div></div><span class=\"st\"></span><br/></div></div></ol></div></div></div><div style=\"clear:both;margin-bottom:17px;overflow:hidden\"><div style=\"font-size:16px;padding:0 8px 1px\">Searches related to <b>openthings</b></div><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td valign=\"top\"><p class=\"aw5cc\" style=\"margin:3px 8px\"><a href=\"/search?newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;q=opensprinkler+garage+door&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ1QIIUygA\"><b>opensprinkler garage door</b></a></p></td><td style=\"padding-left:10px\" valign=\"top\"><p class=\"aw5cc\" style=\"margin:3px 8px\"><a href=\"/search?newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;q=opensprinkler+demo&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ1QIIVCgB\"><b>opensprinkler demo</b></a></p></td></tr></table></div></div><div id=\"foot\"><table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"nav\"><tr valign=\"top\"><td align=\"left\" class=\"b\"><span class=\"csb\" style=\"background-position:-24px 0;width:28px\"></span><b></b></td><td><span class=\"csb\" style=\"background-position:-53px 0;width:20px\"></span><b>1</b></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=10&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>2</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=20&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>3</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=30&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>4</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=40&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>5</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=50&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>6</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=60&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>7</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=70&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>8</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=80&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>9</a></td><td><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=90&amp;sa=N\"><span class=\"csb\" style=\"background-position:-74px 0;width:20px\"></span>10</a></td><td class=\"b\" style=\"text-align:left\"><a class=\"fl\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;ei=BY1YW-C8JMnWjwT87Y2IDA&amp;start=10&amp;sa=N\" style=\"text-align:left\"><span class=\"csb\" style=\"background-position:-96px 0;width:71px\"></span><span style=\"display:block;margin-left:53px\">Next</span></a></td></tr></table><p class=\"A8ul6\" id=\"bfl\" style=\"margin:19px 0 0;text-align:center\"><a href=\"/advanced_search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns\">Advanced search</a><a href=\"/support/websearch/bin/answer.py?answer=134479&amp;hl=en\">Search Help</a> <a href=\"/tools/feedback/survey/html?productId=196&amp;query=openthings&amp;hl=en\">Send feedback</a></p><div class=\"A8ul6\" id=\"fll\" style=\"margin:19px auto 19px auto;text-align:center\"><a href=\"/\">Google Home</a> <a href=\"/intl/en/ads\">Advertising Programs</a> <a href=\"/services\">Business Solutions</a> <a href=\"/intl/en/policies/privacy/\">Privacy</a> <a href=\"/intl/en/policies/terms/\">Terms</a> <a href=\"/intl/en/about.html\">About Google</a></div></div></td><td id=\"rhs_block\" valign=\"top\"></td></tr></tbody></table><script nonce=\"WkMZnmsUzHRWjz3u7Zn8lQ==\" type=\"text/javascript\">(function(){var eventid='BY1YW-C8JMnWjwT87Y2IDA';google.kEI = eventid;})();</script><script nonce=\"WkMZnmsUzHRWjz3u7Zn8lQ==\" src=\"/xjs/_/js/k=xjs.hp.en_US.U_7nFu05n1k.O/m=sb_he,d/rt=j/d=1/rs=ACT90oH-pP3umFhx0u3azC_GUvmtGKQ7zQ\"></script><script nonce=\"WkMZnmsUzHRWjz3u7Zn8lQ==\" type=\"text/javascript\">google.ac&&google.ac.c({\"agen\":true,\"cgen\":true,\"client\":\"heirloom-serp\",\"dh\":true,\"dhqt\":true,\"ds\":\"\",\"ffql\":\"en\",\"fl\":true,\"host\":\"google.com.hk\",\"isbh\":28,\"jsonp\":true,\"msgs\":{\"cibl\":\"Clear Search\",\"dym\":\"Did you mean:\",\"lcky\":\"I\\u0026#39;m Feeling Lucky\",\"lml\":\"Learn more\",\"oskt\":\"Input tools\",\"psrc\":\"This search was removed from your \\u003Ca href=\\\"/history\\\"\\u003EWeb History\\u003C/a\\u003E\",\"psrl\":\"Remove\",\"sbit\":\"Search by image\",\"srch\":\"Google Search\"},\"nds\":true,\"ovr\":{},\"pq\":\"openthings\",\"refpd\":true,\"rfs\":[\"opensprinkler garage door\",\"opensprinkler demo\"],\"sbpl\":24,\"sbpr\":24,\"scd\":10,\"sce\":5,\"stok\":\"YmqyOb37hSw4-Ci2rj75vBjB86M\"})</script><script nonce=\"WkMZnmsUzHRWjz3u7Zn8lQ==\">(function(){window.google.cdo={height:0,width:0};(function(){var a=window.innerWidth,b=window.innerHeight;if(!a||!b){var c=window.document,d=\"CSS1Compat\"==c.compatMode?c.documentElement:c.body;a=d.clientWidth;b=d.clientHeight}a&&b&&(a!=google.cdo.width||b!=google.cdo.height)&&google.log(\"\",\"\",\"/client_204?&atyp=i&biw=\"+a+\"&bih=\"+b+\"&ei=\"+google.kEI);}).call(this);})();</script></body></html>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "url = \"https://www.google.com.hk/search?newwindow=1&safe=strict&ei=tjRYW8WJOPPy9AOb75WoCw&q=openthings\"\n",
    "bs = BeautifulSoup(requests.get(url).text,\"lxml\")\n",
    "bs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "alist = bs.find_all(\"a\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "75"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(alist)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[<a class=\"gb1\" href=\"https://maps.google.com/maps?hl=en&amp;tab=wl\">Maps</a>,\n",
       " <a class=\"gb1\" href=\"https://play.google.com/?hl=en&amp;tab=w8\">Play</a>,\n",
       " <a class=\"gb1\" href=\"https://www.youtube.com/results?gl=US&amp;tab=w1\">YouTube</a>,\n",
       " <a class=\"gb1\" href=\"https://news.google.com/nwshp?hl=en&amp;tab=wn\">News</a>,\n",
       " <a class=\"gb1\" href=\"https://mail.google.com/mail/?tab=wm\">Gmail</a>,\n",
       " <a class=\"gb1\" href=\"https://drive.google.com/?tab=wo\">Drive</a>,\n",
       " <a class=\"gb1\" href=\"https://www.google.com/intl/en/options/\" style=\"text-decoration:none\"><u>More</u> »</a>,\n",
       " <a class=\"gb4\" href=\"http://www.google.com/history/optout?hl=en\">Web History</a>,\n",
       " <a class=\"gb4\" href=\"/preferences?hl=en\">Settings</a>,\n",
       " <a class=\"gb4\" href=\"https://accounts.google.com/ServiceLogin?hl=en&amp;passive=true&amp;continue=https://www.google.com.hk/search%3Fnewwindow%3D1%26safe%3Dstrict%26ei%3DtjRYW8WJOPPy9AOb75WoCw%26q%3Dopenthings\" id=\"gb_70\" target=\"_top\">Sign in</a>,\n",
       " <a href=\"/webhp?hl=en\" id=\"logo\" style=\"background:url(/images/nav_logo229.png) no-repeat 0 -41px;height:37px;width:95px;display:block\" title=\"Go to Google Home\"></a>,\n",
       " <a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUIBQ\">Images</a>,\n",
       " <a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=vid&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUIBg\">Videos</a>,\n",
       " <a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=nws&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUIBw\">News</a>,\n",
       " <a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=shop&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUICA\">Shopping</a>,\n",
       " <a class=\"qrSWbe KDZjCd\" href=\"https://maps.google.com.hk/maps?newwindow=1&amp;safe=strict&amp;q=openthings&amp;um=1&amp;ie=UTF-8&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUICQ\">Maps</a>,\n",
       " <a class=\"qrSWbe KDZjCd\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnms&amp;tbm=bks&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQ_AUICg\">Books</a>,\n",
       " <a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=qdr:h&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Past hour</a>,\n",
       " <a class=\"q\" href=\"/search?q=openthings&amp;newwindow=1&amp;safe=strict&amp;ie=UTF-8&amp;prmd=ivns&amp;source=lnt&amp;tbs=qdr:d&amp;sa=X&amp;ved=0ahUKEwig08ruvrrcAhVJ64MKHfx2A8EQpwUIDw\">Past 24 hours</a>]"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "alist[1:20]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
